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