pub enum EuvShellLayoutMode {
Mobile,
Desktop,
}Expand description
Two-mode responsive layout family driving EuvAppShell across Desktop / PC (>= 960px) and Mobile (< 960px) viewports.
Variants§
Mobile
Mobile and compact tablet layout (viewport_width < 960px): compact topbar, overlay slide drawer, and mobile-only bottom navigation bar.
Desktop
Desktop / PC layout (viewport_width >= 960px): full-width topbar, permanently docked left sidebar, and zero bottom navigation bar.
Implementations§
Source§impl EuvShellLayoutMode
Breakpoint classification helpers for EuvShellLayoutMode.
impl EuvShellLayoutMode
Breakpoint classification helpers for EuvShellLayoutMode.
Sourcepub fn from_viewport_width(width: f32) -> Self
pub fn from_viewport_width(width: f32) -> Self
Sourcepub fn is_desktop(self) -> bool
pub fn is_desktop(self) -> bool
Trait Implementations§
Source§impl Clone for EuvShellLayoutMode
impl Clone for EuvShellLayoutMode
impl Copy for EuvShellLayoutMode
Source§impl Debug for EuvShellLayoutMode
impl Debug for EuvShellLayoutMode
Source§impl Default for EuvShellLayoutMode
impl Default for EuvShellLayoutMode
impl Eq for EuvShellLayoutMode
Source§impl PartialEq for EuvShellLayoutMode
impl PartialEq for EuvShellLayoutMode
impl StructuralPartialEq for EuvShellLayoutMode
Auto Trait Implementations§
impl Forget for EuvShellLayoutMode
impl Freeze for EuvShellLayoutMode
impl Move for EuvShellLayoutMode
impl RefUnwindSafe for EuvShellLayoutMode
impl Send for EuvShellLayoutMode
impl Sync for EuvShellLayoutMode
impl Unpin for EuvShellLayoutMode
impl UnsafeUnpin for EuvShellLayoutMode
impl UnwindSafe for EuvShellLayoutMode
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