pub struct SnackbarAction {
pub label: String,
pub on_click: Rc<dyn Fn()>,
}Fields§
§label: String§on_click: Rc<dyn Fn()>Trait Implementations§
Source§impl Clone for SnackbarAction
impl Clone for SnackbarAction
Source§fn clone(&self) -> SnackbarAction
fn clone(&self) -> SnackbarAction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 !RefUnwindSafe for SnackbarAction
impl !Send for SnackbarAction
impl !Sync for SnackbarAction
impl !UnwindSafe for SnackbarAction
impl Freeze for SnackbarAction
impl Unpin for SnackbarAction
impl UnsafeUnpin for SnackbarAction
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