Struct leptos_meta::MetaPropsBuilder
source · pub struct MetaPropsBuilder<TypedBuilderFields = ((), (), (), (), ())> { /* private fields */ }
Expand description
Builder for MetaProps
instances.
See MetaProps::builder()
for more info.
Implementations§
source§impl<__name, __property, __http_equiv, __content> MetaPropsBuilder<((), __name, __property, __http_equiv, __content)>
impl<__name, __property, __http_equiv, __content> MetaPropsBuilder<((), __name, __property, __http_equiv, __content)>
sourcepub fn charset(
self,
charset: impl Into<TextProp>
) -> MetaPropsBuilder<((Option<TextProp>,), __name, __property, __http_equiv, __content)>
pub fn charset( self, charset: impl Into<TextProp> ) -> MetaPropsBuilder<((Option<TextProp>,), __name, __property, __http_equiv, __content)>
charset: impl
Into<TextProp>
The charset
attribute.
source§impl<__charset, __property, __http_equiv, __content> MetaPropsBuilder<(__charset, (), __property, __http_equiv, __content)>
impl<__charset, __property, __http_equiv, __content> MetaPropsBuilder<(__charset, (), __property, __http_equiv, __content)>
sourcepub fn name(
self,
name: impl Into<TextProp>
) -> MetaPropsBuilder<(__charset, (Option<TextProp>,), __property, __http_equiv, __content)>
pub fn name( self, name: impl Into<TextProp> ) -> MetaPropsBuilder<(__charset, (Option<TextProp>,), __property, __http_equiv, __content)>
name: impl
Into<TextProp>
The name
attribute.
source§impl<__charset, __name, __http_equiv, __content> MetaPropsBuilder<(__charset, __name, (), __http_equiv, __content)>
impl<__charset, __name, __http_equiv, __content> MetaPropsBuilder<(__charset, __name, (), __http_equiv, __content)>
sourcepub fn property(
self,
property: impl Into<TextProp>
) -> MetaPropsBuilder<(__charset, __name, (Option<TextProp>,), __http_equiv, __content)>
pub fn property( self, property: impl Into<TextProp> ) -> MetaPropsBuilder<(__charset, __name, (Option<TextProp>,), __http_equiv, __content)>
property: impl
Into<TextProp>
The property
attribute.
source§impl<__charset, __name, __property, __content> MetaPropsBuilder<(__charset, __name, __property, (), __content)>
impl<__charset, __name, __property, __content> MetaPropsBuilder<(__charset, __name, __property, (), __content)>
sourcepub fn http_equiv(
self,
http_equiv: impl Into<TextProp>
) -> MetaPropsBuilder<(__charset, __name, __property, (Option<TextProp>,), __content)>
pub fn http_equiv( self, http_equiv: impl Into<TextProp> ) -> MetaPropsBuilder<(__charset, __name, __property, (Option<TextProp>,), __content)>
http_equiv: impl
Into<TextProp>
The http-equiv
attribute.
source§impl<__charset, __name, __property, __http_equiv> MetaPropsBuilder<(__charset, __name, __property, __http_equiv, ())>
impl<__charset, __name, __property, __http_equiv> MetaPropsBuilder<(__charset, __name, __property, __http_equiv, ())>
sourcepub fn content(
self,
content: impl Into<TextProp>
) -> MetaPropsBuilder<(__charset, __name, __property, __http_equiv, (Option<TextProp>,))>
pub fn content( self, content: impl Into<TextProp> ) -> MetaPropsBuilder<(__charset, __name, __property, __http_equiv, (Option<TextProp>,))>
content: impl
Into<TextProp>
The content
attribute.
source§impl<__charset: MetaPropsBuilder_Optional<Option<TextProp>>, __name: MetaPropsBuilder_Optional<Option<TextProp>>, __property: MetaPropsBuilder_Optional<Option<TextProp>>, __http_equiv: MetaPropsBuilder_Optional<Option<TextProp>>, __content: MetaPropsBuilder_Optional<Option<TextProp>>> MetaPropsBuilder<(__charset, __name, __property, __http_equiv, __content)>
impl<__charset: MetaPropsBuilder_Optional<Option<TextProp>>, __name: MetaPropsBuilder_Optional<Option<TextProp>>, __property: MetaPropsBuilder_Optional<Option<TextProp>>, __http_equiv: MetaPropsBuilder_Optional<Option<TextProp>>, __content: MetaPropsBuilder_Optional<Option<TextProp>>> MetaPropsBuilder<(__charset, __name, __property, __http_equiv, __content)>
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> RefUnwindSafe for MetaPropsBuilder<TypedBuilderFields>where TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for MetaPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for MetaPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for MetaPropsBuilder<TypedBuilderFields>where TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for MetaPropsBuilder<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