NcTreeOptions

Type Alias NcTreeOptions 

Source
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_item

top-level nctree_item array

§count: u32

size of |items|

§nctreecb: Option<unsafe extern "C" fn(*mut ncplane, *mut c_void, i32) -> i32>

item callback function

§indentcols: i32

columns to indent per level of hierarchy

§flags: u64

bitfield of NCTREE_OPTION_*