pub struct CheckboxInputResult {
pub toggled: bool,
pub new_checked: bool,
pub hovered: bool,
pub interaction: WidgetInteraction,
}Expand description
Checkbox input result
Fields§
§toggled: boolWhether checkbox was toggled
new_checked: boolNew checked state (if toggled)
hovered: boolWhether checkbox is hovered
interaction: WidgetInteractionCurrent interaction state
Trait Implementations§
Source§impl Clone for CheckboxInputResult
impl Clone for CheckboxInputResult
Source§fn clone(&self) -> CheckboxInputResult
fn clone(&self) -> CheckboxInputResult
Returns a duplicate 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 CheckboxInputResult
impl Debug for CheckboxInputResult
Source§impl Default for CheckboxInputResult
impl Default for CheckboxInputResult
Source§fn default() -> CheckboxInputResult
fn default() -> CheckboxInputResult
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CheckboxInputResult
impl RefUnwindSafe for CheckboxInputResult
impl Send for CheckboxInputResult
impl Sync for CheckboxInputResult
impl Unpin for CheckboxInputResult
impl UnsafeUnpin for CheckboxInputResult
impl UnwindSafe for CheckboxInputResult
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