#[repr(C)]pub struct NumberWindowCallbacks {
pub incremented: Option<NumberWindowCallback>,
pub decremented: Option<NumberWindowCallback>,
pub selected: Option<NumberWindowCallback>,
}Expand description
NumberWindow callbacks.
Fields§
§incremented: Option<NumberWindowCallback>Called as the value is incremented.
decremented: Option<NumberWindowCallback>Called as the value is decremented.
selected: Option<NumberWindowCallback>Called as the value is confirmed, i.e. as the SELECT button is clicked.
Auto Trait Implementations§
impl Freeze for NumberWindowCallbacks
impl RefUnwindSafe for NumberWindowCallbacks
impl Send for NumberWindowCallbacks
impl Sync for NumberWindowCallbacks
impl Unpin for NumberWindowCallbacks
impl UnwindSafe for NumberWindowCallbacks
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