pub struct ToastTitlePropsBuilder<'__a> { /* private fields */ }Expand description
Typestate builder for ToastTitleProps, created by ToastTitleProps::builder(). build() becomes available once every required property has been set.
Implementations§
Source§impl<'__a> ToastTitlePropsBuilder<'__a>
impl<'__a> ToastTitlePropsBuilder<'__a>
Sourcepub fn build(self) -> ToastTitleProps<'__a>
pub fn build(self) -> ToastTitleProps<'__a>
Builds the props struct from the set properties.
Only available once every required property has been set.
#[default] properties that were not set are filled with
Default::default(), or the #[default(expr)] expression.
Auto Trait Implementations§
impl<'__a> !RefUnwindSafe for ToastTitlePropsBuilder<'__a>
impl<'__a> !Sync for ToastTitlePropsBuilder<'__a>
impl<'__a> !UnwindSafe for ToastTitlePropsBuilder<'__a>
impl<'__a> Freeze for ToastTitlePropsBuilder<'__a>
impl<'__a> Send for ToastTitlePropsBuilder<'__a>
impl<'__a> Unpin for ToastTitlePropsBuilder<'__a>
impl<'__a> UnsafeUnpin for ToastTitlePropsBuilder<'__a>
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