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)>,
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
source§fn eq(&self, other: &MenuInputVTABLE) -> bool
fn eq(&self, other: &MenuInputVTABLE) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)source§impl<T> CloneToUninit for Twhere
T: Copy,
impl<T> CloneToUninit for Twhere
T: Copy,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)