pub struct DefaultLayout;Expand description
Minimal layout wrapping content in a valid HTML page.
Produces the same structure as the existing framework HTML shell: doctype, meta tags, title, head content, body with the ferro-json-ui wrapper div containing the rendered components.
Trait Implementations§
Source§impl Layout for DefaultLayout
impl Layout for DefaultLayout
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 DefaultLayout
impl RefUnwindSafe for DefaultLayout
impl Send for DefaultLayout
impl Sync for DefaultLayout
impl Unpin for DefaultLayout
impl UnsafeUnpin for DefaultLayout
impl UnwindSafe for DefaultLayout
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