pub enum LayerMode {
ROOT,
MODAL,
DRAWER,
POPUP,
COVER,
}
Expand description
The mode of a layer
Variants§
ROOT
The initial page
MODAL
A modal dialog box
DRAWER
A drawer sliding in from the side
POPUP
A popup menu anchored to a link
COVER
An overlay covering the entire screen
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for LayerMode
impl<'de> Deserialize<'de> for LayerMode
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 StructuralPartialEq for LayerMode
Auto Trait Implementations§
impl Freeze for LayerMode
impl RefUnwindSafe for LayerMode
impl Send for LayerMode
impl Sync for LayerMode
impl Unpin for LayerMode
impl UnwindSafe for LayerMode
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