pub struct ToastBuilder<'a, 'b> { /* private fields */ }Expand description
The main builder class for creating a dialog window.
Implementations§
source§impl<'a, 'b> ToastBuilder<'a, 'b>
impl<'a, 'b> ToastBuilder<'a, 'b>
sourcepub fn message_cstr(self, message: &'b CStr) -> Self
pub fn message_cstr(self, message: &'b CStr) -> Self
sourcepub fn title_cstr(self, title: &'a CStr) -> Self
pub fn title_cstr(self, title: &'a CStr) -> Self
Sets the button style to display to the user.
§Parameters
buttons- the buttons to display to the user.
Auto Trait Implementations§
impl<'a, 'b> Freeze for ToastBuilder<'a, 'b>
impl<'a, 'b> RefUnwindSafe for ToastBuilder<'a, 'b>
impl<'a, 'b> Send for ToastBuilder<'a, 'b>
impl<'a, 'b> Sync for ToastBuilder<'a, 'b>
impl<'a, 'b> Unpin for ToastBuilder<'a, 'b>
impl<'a, 'b> UnwindSafe for ToastBuilder<'a, 'b>
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