pub struct AuthLayout;Expand description
Centered card layout for authentication pages (login, register).
Centers the content vertically and horizontally within a max-width container. No navigation or sidebar.
Trait Implementations§
Source§impl Layout for AuthLayout
impl Layout for AuthLayout
Source§fn render(&self, ctx: &LayoutContext<'_>) -> String
fn render(&self, ctx: &LayoutContext<'_>) -> String
Render a complete HTML page using the provided context.
Auto Trait Implementations§
impl Freeze for AuthLayout
impl RefUnwindSafe for AuthLayout
impl Send for AuthLayout
impl Sync for AuthLayout
impl Unpin for AuthLayout
impl UnsafeUnpin for AuthLayout
impl UnwindSafe for AuthLayout
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