#[non_exhaustive]#[repr(u8)]pub enum ToggleSwitchSlot {
Header = 0,
OnContent = 1,
OffContent = 2,
}Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for ToggleSwitchSlot
impl Clone for ToggleSwitchSlot
Source§fn clone(&self) -> ToggleSwitchSlot
fn clone(&self) -> ToggleSwitchSlot
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 moreimpl Copy for ToggleSwitchSlot
Source§impl Debug for ToggleSwitchSlot
impl Debug for ToggleSwitchSlot
impl Eq for ToggleSwitchSlot
Source§impl Hash for ToggleSwitchSlot
impl Hash for ToggleSwitchSlot
Source§impl PartialEq for ToggleSwitchSlot
impl PartialEq for ToggleSwitchSlot
impl StructuralPartialEq for ToggleSwitchSlot
Auto Trait Implementations§
impl Freeze for ToggleSwitchSlot
impl RefUnwindSafe for ToggleSwitchSlot
impl Send for ToggleSwitchSlot
impl Sync for ToggleSwitchSlot
impl Unpin for ToggleSwitchSlot
impl UnsafeUnpin for ToggleSwitchSlot
impl UnwindSafe for ToggleSwitchSlot
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