pub struct CheckboxResponse {
pub changed: bool,
pub checked: bool,
pub supported: bool,
}Expand description
Result of a checkbox widget.
Fields§
§changed: boolWhether the checked state toggled this frame.
checked: boolThe current checked state.
supported: boolWhether the active adapter actually rendered this widget.
Implementations§
Trait Implementations§
Source§impl Clone for CheckboxResponse
impl Clone for CheckboxResponse
Source§fn clone(&self) -> CheckboxResponse
fn clone(&self) -> CheckboxResponse
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CheckboxResponse
impl Debug for CheckboxResponse
Source§impl Default for CheckboxResponse
impl Default for CheckboxResponse
Source§fn default() -> CheckboxResponse
fn default() -> CheckboxResponse
Returns the “default value” for a type. Read more
Source§impl PartialEq for CheckboxResponse
impl PartialEq for CheckboxResponse
Source§fn eq(&self, other: &CheckboxResponse) -> bool
fn eq(&self, other: &CheckboxResponse) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CheckboxResponse
impl Eq for CheckboxResponse
impl StructuralPartialEq for CheckboxResponse
Auto Trait Implementations§
impl Freeze for CheckboxResponse
impl RefUnwindSafe for CheckboxResponse
impl Send for CheckboxResponse
impl Sync for CheckboxResponse
impl Unpin for CheckboxResponse
impl UnsafeUnpin for CheckboxResponse
impl UnwindSafe for CheckboxResponse
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