pub struct HtmlLayoutProps { /* private fields */ }
Implementations§
Source§impl HtmlLayoutProps
impl HtmlLayoutProps
Sourcepub fn builder() -> HtmlLayoutPropsBuilder<((), (), (), ())>
pub fn builder() -> HtmlLayoutPropsBuilder<((), (), (), ())>
Create a builder for building HtmlLayoutProps
.
On the builder, call .head_title(...)
(optional), .head_links(...)
(optional), .head_scripts(...)
(optional), .children(...)
(optional) to set the values of the fields.
Finally, call .build()
to create the instance of HtmlLayoutProps
.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for HtmlLayoutProps
impl RefUnwindSafe for HtmlLayoutProps
impl Send for HtmlLayoutProps
impl Sync for HtmlLayoutProps
impl Unpin for HtmlLayoutProps
impl UnwindSafe for HtmlLayoutProps
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