pub enum SwitchClass {
Generic,
Outlet,
Switch,
}Variants§
Trait Implementations§
Source§impl Clone for SwitchClass
impl Clone for SwitchClass
Source§fn clone(&self) -> SwitchClass
fn clone(&self) -> SwitchClass
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 SwitchClass
impl Debug for SwitchClass
Source§impl Default for SwitchClass
impl Default for SwitchClass
Source§fn default() -> SwitchClass
fn default() -> SwitchClass
Returns the “default value” for a type. Read more
Source§impl PartialEq for SwitchClass
impl PartialEq for SwitchClass
impl Copy for SwitchClass
impl Eq for SwitchClass
impl StructuralPartialEq for SwitchClass
Auto Trait Implementations§
impl Freeze for SwitchClass
impl RefUnwindSafe for SwitchClass
impl Send for SwitchClass
impl Sync for SwitchClass
impl Unpin for SwitchClass
impl UnwindSafe for SwitchClass
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