#[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)>,
pub ProcessInput: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, value: *mut cc_string, btn: c_int) -> cc_bool>,
}
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)>
§ProcessInput: Option<unsafe extern "C" fn(d: *mut MenuInputDesc, value: *mut cc_string, btn: c_int) -> cc_bool>
Trait Implementations§
Source§impl Clone for MenuInputVTABLE
impl Clone for MenuInputVTABLE
Source§fn clone(&self) -> MenuInputVTABLE
fn clone(&self) -> MenuInputVTABLE
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for MenuInputVTABLE
impl Debug for MenuInputVTABLE
Source§impl Hash for MenuInputVTABLE
impl Hash for MenuInputVTABLE
Source§impl PartialEq for MenuInputVTABLE
impl PartialEq for MenuInputVTABLE
impl Copy for MenuInputVTABLE
impl Eq for MenuInputVTABLE
impl StructuralPartialEq for MenuInputVTABLE
Auto Trait Implementations§
impl Freeze for MenuInputVTABLE
impl RefUnwindSafe for MenuInputVTABLE
impl Send for MenuInputVTABLE
impl Sync for MenuInputVTABLE
impl Unpin for MenuInputVTABLE
impl UnwindSafe for MenuInputVTABLE
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more