pub struct ToastOptions {
pub background: Option<Color>,
pub foreground: Option<Color>,
pub corner_radius: f32,
}Expand description
Visual options for Frame::toast_with_options.
Fields§
§background: Option<Color>§foreground: Option<Color>§corner_radius: f32Trait Implementations§
Source§impl Clone for ToastOptions
impl Clone for ToastOptions
impl Copy for ToastOptions
Source§impl Debug for ToastOptions
impl Debug for ToastOptions
Auto Trait Implementations§
impl Forget for ToastOptions
impl Freeze for ToastOptions
impl Move 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