pub enum SelfSwitch {
A,
B,
C,
D,
}Variants§
Trait Implementations§
Source§impl Clone for SelfSwitch
impl Clone for SelfSwitch
Source§fn clone(&self) -> SelfSwitch
fn clone(&self) -> SelfSwitch
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 SelfSwitch
impl Debug for SelfSwitch
Source§impl<'de> Deserialize<'de> for SelfSwitch
impl<'de> Deserialize<'de> for SelfSwitch
Source§fn deserialize<D>(deserializer: D) -> Result<Self, DeError>where
D: DeserializerTrait<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, DeError>where
D: DeserializerTrait<'de>,
Deserialize this value from the given deserializer.
Source§impl<'de> Deserialize<'de> for SelfSwitch
impl<'de> Deserialize<'de> for SelfSwitch
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for SelfSwitch
impl Display for SelfSwitch
Source§impl From<SelfSwitch> for String
impl From<SelfSwitch> for String
Source§fn from(val: SelfSwitch) -> Self
fn from(val: SelfSwitch) -> Self
Converts to this type from the input type.
Source§impl From<String> for SelfSwitch
impl From<String> for SelfSwitch
Source§impl IntoEnumIterator for SelfSwitch
impl IntoEnumIterator for SelfSwitch
type Iterator = SelfSwitchIter
fn iter() -> SelfSwitchIter ⓘ
Source§impl PartialEq for SelfSwitch
impl PartialEq for SelfSwitch
Source§impl Serialize for SelfSwitch
impl Serialize for SelfSwitch
Source§impl Serialize for SelfSwitch
impl Serialize for SelfSwitch
impl Copy for SelfSwitch
impl StructuralPartialEq for SelfSwitch
Auto Trait Implementations§
impl Freeze for SelfSwitch
impl RefUnwindSafe for SelfSwitch
impl Send for SelfSwitch
impl Sync for SelfSwitch
impl Unpin for SelfSwitch
impl UnwindSafe for SelfSwitch
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