pub enum Life {
Set,
Pushed,
}Expand description
How a mode is on.
Variants§
Set
Sticky until changed.
Pushed
Temporary: popped by nav.back (Escape), putting back what it
replaced in its group.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Life
impl<'de> Deserialize<'de> for Life
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 Copy for Life
impl Eq for Life
impl StructuralPartialEq for Life
Auto Trait Implementations§
impl Freeze for Life
impl RefUnwindSafe for Life
impl Send for Life
impl Sync for Life
impl Unpin for Life
impl UnsafeUnpin for Life
impl UnwindSafe for Life
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