pub type NcTreeOptions = nctree_options;Expand description
Options struct for NcTree.
Aliased Type§
#[repr(C)]pub struct NcTreeOptions {
pub items: *const nctree_item,
pub count: u32,
pub nctreecb: Option<unsafe extern "C" fn(*mut ncplane, *mut c_void, i32) -> i32>,
pub indentcols: i32,
pub flags: u64,
}Fields§
§items: *const nctree_itemtop-level nctree_item array
count: u32size of |items|
nctreecb: Option<unsafe extern "C" fn(*mut ncplane, *mut c_void, i32) -> i32>item callback function
indentcols: i32columns to indent per level of hierarchy
flags: u64bitfield of NCTREE_OPTION_*