pub struct AlertPropsBuilder<TypedBuilderFields = ((), (), (), ())> { /* private fields */ }
Expand description
Builder for AlertProps
instances.
See AlertProps::builder()
for more info.
Implementations§
Source§impl<__title, __class, __children> AlertPropsBuilder<((), __title, __class, __children)>
impl<__title, __class, __children> AlertPropsBuilder<((), __title, __class, __children)>
pub fn kind( self, kind: AlertKind, ) -> AlertPropsBuilder<((AlertKind,), __title, __class, __children)>
Source§impl<__kind, __class, __children> AlertPropsBuilder<(__kind, (), __class, __children)>
impl<__kind, __class, __children> AlertPropsBuilder<(__kind, (), __class, __children)>
Source§impl<__kind, __title, __children> AlertPropsBuilder<(__kind, __title, (), __children)>
impl<__kind, __title, __children> AlertPropsBuilder<(__kind, __title, (), __children)>
Source§impl<__kind, __title, __class> AlertPropsBuilder<(__kind, __title, __class, ())>
impl<__kind, __title, __class> AlertPropsBuilder<(__kind, __title, __class, ())>
pub fn children( self, children: String, ) -> AlertPropsBuilder<(__kind, __title, __class, (String,))>
Source§impl<__kind: Optional<AlertKind>, __class: Optional<String>, __children: Optional<String>> AlertPropsBuilder<(__kind, (String,), __class, __children)>
impl<__kind: Optional<AlertKind>, __class: Optional<String>, __children: Optional<String>> AlertPropsBuilder<(__kind, (String,), __class, __children)>
Sourcepub fn build(self) -> AlertProps
pub fn build(self) -> AlertProps
Finalise the builder and create its AlertProps
instance
Trait Implementations§
Auto Trait Implementations§
impl<TypedBuilderFields> Freeze for AlertPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Freeze,
impl<TypedBuilderFields> RefUnwindSafe for AlertPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: RefUnwindSafe,
impl<TypedBuilderFields> Send for AlertPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Send,
impl<TypedBuilderFields> Sync for AlertPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Sync,
impl<TypedBuilderFields> Unpin for AlertPropsBuilder<TypedBuilderFields>where
TypedBuilderFields: Unpin,
impl<TypedBuilderFields> UnwindSafe for AlertPropsBuilder<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