pub struct ToastState {
pub message: Option<String>,
pub expires_at: f64,
}Expand description
Caller-owned state for Frame::toast.
Fields§
§message: Option<String>§expires_at: f64Implementations§
Trait Implementations§
Source§impl Clone for ToastState
impl Clone for ToastState
Source§impl Debug for ToastState
impl Debug for ToastState
Auto Trait Implementations§
impl Forget for ToastState
impl Freeze for ToastState
impl Move for ToastState
impl RefUnwindSafe for ToastState
impl Send for ToastState
impl Sync for ToastState
impl Unpin for ToastState
impl UnsafeUnpin for ToastState
impl UnwindSafe for ToastState
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