pub struct ToggleProps {
pub on: bool,
pub enabled: bool,
}Fields§
§on: bool§enabled: boolTrait Implementations§
Source§impl Clone for ToggleProps
impl Clone for ToggleProps
Source§fn clone(&self) -> ToggleProps
fn clone(&self) -> ToggleProps
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 ToggleProps
impl Debug for ToggleProps
Source§impl Default for ToggleProps
impl Default for ToggleProps
Source§fn default() -> ToggleProps
fn default() -> ToggleProps
Returns the “default value” for a type. Read more
Source§impl PartialEq for ToggleProps
impl PartialEq for ToggleProps
Source§fn eq(&self, other: &ToggleProps) -> bool
fn eq(&self, other: &ToggleProps) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ToggleProps
Auto Trait Implementations§
impl Freeze for ToggleProps
impl RefUnwindSafe for ToggleProps
impl Send for ToggleProps
impl Sync for ToggleProps
impl Unpin for ToggleProps
impl UnsafeUnpin for ToggleProps
impl UnwindSafe for ToggleProps
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