NcSelectorItem

Type Alias NcSelectorItem 

Source
pub type NcSelectorItem = ncselector_item;
Expand description

Item structure for NcSelector.

Aliased Type§

#[repr(C)]
pub struct NcSelectorItem { pub option: *const i8, pub desc: *const i8, }

Fields§

§option: *const i8§desc: *const i8

Implementations§

Source§

impl NcSelectorItem

Source

pub fn new(option: &NcString, desc: &NcString) -> Self

New item

Source

pub fn new_empty() -> Self

New empty NcSelectorItem.