pub struct HtmlLayoutPropsBuilder<TypedBuilderFields = ((), (), (), ())> { /* private fields */ }
Expand description
Builder for HtmlLayoutProps
instances.
See HtmlLayoutProps::builder()
for more info.
Implementations§
Source§impl<__head_links, __head_scripts, __children> HtmlLayoutPropsBuilder<((), __head_links, __head_scripts, __children)>
impl<__head_links, __head_scripts, __children> HtmlLayoutPropsBuilder<((), __head_links, __head_scripts, __children)>
pub fn head_title( self, head_title: impl Into<String>, ) -> HtmlLayoutPropsBuilder<((String,), __head_links, __head_scripts, __children)>
Source§impl<__head_title, __head_scripts, __children> HtmlLayoutPropsBuilder<(__head_title, (), __head_scripts, __children)>
impl<__head_title, __head_scripts, __children> HtmlLayoutPropsBuilder<(__head_title, (), __head_scripts, __children)>
pub fn head_links( self, head_links: String, ) -> HtmlLayoutPropsBuilder<(__head_title, (String,), __head_scripts, __children)>
Source§impl<__head_title, __head_links, __children> HtmlLayoutPropsBuilder<(__head_title, __head_links, (), __children)>
impl<__head_title, __head_links, __children> HtmlLayoutPropsBuilder<(__head_title, __head_links, (), __children)>
pub fn head_scripts( self, head_scripts: String, ) -> HtmlLayoutPropsBuilder<(__head_title, __head_links, (String,), __children)>
Source§impl<__head_title, __head_links, __head_scripts> HtmlLayoutPropsBuilder<(__head_title, __head_links, __head_scripts, ())>
impl<__head_title, __head_links, __head_scripts> HtmlLayoutPropsBuilder<(__head_title, __head_links, __head_scripts, ())>
pub fn children( self, children: String, ) -> HtmlLayoutPropsBuilder<(__head_title, __head_links, __head_scripts, (String,))>
Source§impl<__head_title: Optional<String>, __head_links: Optional<String>, __head_scripts: Optional<String>, __children: Optional<String>> HtmlLayoutPropsBuilder<(__head_title, __head_links, __head_scripts, __children)>
impl<__head_title: Optional<String>, __head_links: Optional<String>, __head_scripts: Optional<String>, __children: Optional<String>> HtmlLayoutPropsBuilder<(__head_title, __head_links, __head_scripts, __children)>
Sourcepub fn build(self) -> HtmlLayoutProps
pub fn build(self) -> HtmlLayoutProps
Finalise the builder and create its HtmlLayoutProps
instance
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for HtmlLayoutPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for HtmlLayoutPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for HtmlLayoutPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for HtmlLayoutPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for HtmlLayoutPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for HtmlLayoutPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: UnwindSafe,
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