Struct classicube_sys::MenuInputVTABLE
source ·
[−]#[repr(C)]pub struct MenuInputVTABLE {
pub GetRange: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, range: *mut cc_string)>,
pub IsValidChar: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, c: c_char) -> cc_bool>,
pub IsValidString: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, s: *const cc_string) -> cc_bool>,
pub IsValidValue: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, s: *const cc_string) -> cc_bool>,
pub GetDefault: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, value: *mut cc_string)>,
}
Fields
GetRange: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, range: *mut cc_string)>
IsValidChar: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, c: c_char) -> cc_bool>
IsValidString: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, s: *const cc_string) -> cc_bool>
IsValidValue: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, s: *const cc_string) -> cc_bool>
GetDefault: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, value: *mut cc_string)>
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for MenuInputVTABLE
impl Send for MenuInputVTABLE
impl Sync for MenuInputVTABLE
impl Unpin for MenuInputVTABLE
impl UnwindSafe for MenuInputVTABLE
Blanket Implementations
Mutably borrows from an owned value. Read more