pub struct AlertAction { /* private fields */ }Expand description
What Alert::action adds to an alert. Its own type parameter, so an alert
without a button stays Send.
Trait Implementations§
Source§impl Clone for AlertAction
impl Clone for AlertAction
Source§fn clone(&self) -> AlertAction
fn clone(&self) -> AlertAction
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 AlertAction
impl !Send for AlertAction
impl !Sync for AlertAction
impl !UnwindSafe for AlertAction
impl Freeze for AlertAction
impl Unpin for AlertAction
impl UnsafeUnpin for AlertAction
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