Struct libnotcurses_sys::ffi::nctree_options [−][src]
#[repr(C)]pub struct nctree_options { pub items: *const nctree_item, pub count: c_uint, pub nctreecb: Option<unsafe extern "C" fn(arg1: *mut ncplane, arg2: *mut c_void, arg3: c_int) -> c_int>, pub indentcols: c_int, pub flags: u64, }
Fields
items: *const nctree_item
top-level nctree_item array
count: c_uint
size of |items|
nctreecb: Option<unsafe extern "C" fn(arg1: *mut ncplane, arg2: *mut c_void, arg3: c_int) -> c_int>
item callback function
indentcols: c_int
columns to indent per level of hierarchy
flags: u64
bitfield of NCTREE_OPTION_*
Implementations
pub fn with_all_args(
items: &[NcTreeItem],
count: usize,
nctreecb: Option<NcTreeItemCbUnsafe>,
indentcols: NcDim,
flags: u64
) -> Self
[src]
pub fn with_all_args(
items: &[NcTreeItem],
count: usize,
nctreecb: Option<NcTreeItemCbUnsafe>,
indentcols: NcDim,
flags: u64
) -> Self
[src]New NcTreeOptions for NcTree
, with all args.
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
This method returns an ordering between self
and other
values if one exists. Read more
This method tests less than (for self
and other
) and is used by the <
operator. Read more
This method tests less than or equal to (for self
and other
) and is used by the <=
operator. Read more
This method tests greater than (for self
and other
) and is used by the >
operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for nctree_options
impl !Send for nctree_options
impl !Sync for nctree_options
impl Unpin for nctree_options
impl UnwindSafe for nctree_options
Blanket Implementations
Mutably borrows from an owned value. Read more