pub struct AlertOptions<'a> {
pub variant: AlertVariant,
pub action_label: Option<&'a str>,
pub dismissible: bool,
}Expand description
Configuration for Frame::alert_with_options.
Fields§
§variant: AlertVariant§action_label: Option<&'a str>§dismissible: boolTrait Implementations§
Source§impl<'a> Clone for AlertOptions<'a>
impl<'a> Clone for AlertOptions<'a>
impl<'a> Copy for AlertOptions<'a>
Source§impl<'a> Debug for AlertOptions<'a>
impl<'a> Debug for AlertOptions<'a>
Auto Trait Implementations§
impl<'a> Forget for AlertOptions<'a>
impl<'a> Freeze for AlertOptions<'a>
impl<'a> Move for AlertOptions<'a>
impl<'a> RefUnwindSafe for AlertOptions<'a>
impl<'a> Send for AlertOptions<'a>
impl<'a> Sync for AlertOptions<'a>
impl<'a> Unpin for AlertOptions<'a>
impl<'a> UnsafeUnpin for AlertOptions<'a>
impl<'a> UnwindSafe for AlertOptions<'a>
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