mirror of
https://github.com/dankamongmen/notcurses.git
synced 2024-11-20 03:25:47 +00:00
[rust] hide the docs of deprecated items
This commit is contained in:
parent
b372a492ad
commit
2dd1e8812e
@ -77,7 +77,8 @@ fn main() {
|
||||
}
|
||||
|
||||
// Finish the builder and generate the builder.
|
||||
let bindings = builder.generate()
|
||||
let bindings = builder
|
||||
.generate()
|
||||
// Unwrap the Result and panic on failure.
|
||||
.expect("Unable to generate bindings");
|
||||
|
||||
|
@ -282,6 +282,7 @@ pub const NCALPHA_FG_RGB_MASK: u64 = crate::bindings::ffi::CELL_FG_RGB_MASK;
|
||||
pub type NcChannels = u64;
|
||||
|
||||
#[deprecated]
|
||||
#[doc(hidden)]
|
||||
pub type NcChannelPair = NcChannels;
|
||||
|
||||
// NcRgb
|
||||
|
@ -85,12 +85,14 @@ pub use reimplemented::*;
|
||||
pub type Nc = crate::bindings::ffi::notcurses;
|
||||
|
||||
#[deprecated]
|
||||
#[doc(hidden)]
|
||||
pub type Notcurses = Nc;
|
||||
|
||||
/// Options struct for [`Notcurses`]
|
||||
pub type NcOptions = crate::bindings::ffi::notcurses_options;
|
||||
|
||||
#[deprecated]
|
||||
#[doc(hidden)]
|
||||
pub type NotcursesOptions = NcOptions;
|
||||
|
||||
/// Do not call setlocale()
|
||||
|
Loading…
Reference in New Issue
Block a user