pub enum SwitchShape {
Flag,
Opt {
hint: String,
},
}Variants§
Trait Implementations§
Source§impl Clone for SwitchShape
impl Clone for SwitchShape
Source§fn clone(&self) -> SwitchShape
fn clone(&self) -> SwitchShape
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 SwitchShape
impl Debug for SwitchShape
Source§impl Hash for SwitchShape
impl Hash for SwitchShape
Source§impl PartialEq for SwitchShape
impl PartialEq for SwitchShape
impl Eq for SwitchShape
impl StructuralPartialEq for SwitchShape
Auto Trait Implementations§
impl Freeze for SwitchShape
impl RefUnwindSafe for SwitchShape
impl Send for SwitchShape
impl Sync for SwitchShape
impl Unpin for SwitchShape
impl UnwindSafe for SwitchShape
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