pub enum SwitcherForm {
None,
Sidebar,
Rail,
}Expand description
How the main-switcher renders on this platform/size.
Variants§
Trait Implementations§
Source§impl Clone for SwitcherForm
impl Clone for SwitcherForm
Source§fn clone(&self) -> SwitcherForm
fn clone(&self) -> SwitcherForm
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 SwitcherForm
Source§impl Debug for SwitcherForm
impl Debug for SwitcherForm
Source§impl<'de> Deserialize<'de> for SwitcherForm
impl<'de> Deserialize<'de> for SwitcherForm
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
impl Eq for SwitcherForm
Source§impl PartialEq for SwitcherForm
impl PartialEq for SwitcherForm
Source§fn eq(&self, other: &SwitcherForm) -> bool
fn eq(&self, other: &SwitcherForm) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for SwitcherForm
impl Serialize for SwitcherForm
impl StructuralPartialEq for SwitcherForm
Auto Trait Implementations§
impl Freeze for SwitcherForm
impl RefUnwindSafe for SwitcherForm
impl Send for SwitcherForm
impl Sync for SwitcherForm
impl Unpin for SwitcherForm
impl UnsafeUnpin for SwitcherForm
impl UnwindSafe for SwitcherForm
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