pub struct ToastStyle {
pub info_icon: WidgetText,
pub warning_icon: WidgetText,
pub error_icon: WidgetText,
pub success_icon: WidgetText,
pub close_button_text: WidgetText,
}Fields§
§info_icon: WidgetText§warning_icon: WidgetText§error_icon: WidgetText§success_icon: WidgetTextTrait Implementations§
Source§impl Clone for ToastStyle
impl Clone for ToastStyle
Source§fn clone(&self) -> ToastStyle
fn clone(&self) -> ToastStyle
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 ToastStyle
impl RefUnwindSafe for ToastStyle
impl Send for ToastStyle
impl Sync for ToastStyle
impl Unpin for ToastStyle
impl UnwindSafe for ToastStyle
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