pub struct ToastOptions {
pub title: String,
pub icon: ToastIcon,
pub image: Option<String>,
pub duration: f64,
pub mask: bool,
pub position: ToastPosition,
}Fields§
§title: String§icon: ToastIcon§image: Option<String>§duration: f64§mask: bool§position: ToastPositionTrait Implementations§
Source§impl Clone for ToastOptions
impl Clone for ToastOptions
Source§fn clone(&self) -> ToastOptions
fn clone(&self) -> ToastOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ToastOptions
impl RefUnwindSafe for ToastOptions
impl Send for ToastOptions
impl Sync for ToastOptions
impl Unpin for ToastOptions
impl UnsafeUnpin for ToastOptions
impl UnwindSafe for ToastOptions
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