Struct ToggleState
#[repr(transparent)]pub struct ToggleState(pub i32);
Tuple Fields§
§0: i32
Trait Implementations§
§impl Clone for ToggleState
impl Clone for ToggleState
§fn clone(&self) -> ToggleState
fn clone(&self) -> ToggleState
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 more§impl Debug for ToggleState
impl Debug for ToggleState
§impl Default for ToggleState
impl Default for ToggleState
§fn default() -> ToggleState
fn default() -> ToggleState
Returns the “default value” for a type. Read more
§impl PartialEq for ToggleState
impl PartialEq for ToggleState
impl Copy for ToggleState
impl Eq for ToggleState
impl StructuralPartialEq for ToggleState
Auto Trait Implementations§
impl Freeze for ToggleState
impl RefUnwindSafe for ToggleState
impl Send for ToggleState
impl Sync for ToggleState
impl Unpin for ToggleState
impl UnwindSafe for ToggleState
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