pub struct AlertDialogOptions {
pub initial_focus: AlertDialogInitialFocus,
pub on_open_auto_focus: Option<OnOpenAutoFocus>,
pub on_close_auto_focus: Option<OnCloseAutoFocus>,
}Fields§
§initial_focus: AlertDialogInitialFocus§on_open_auto_focus: Option<OnOpenAutoFocus>§on_close_auto_focus: Option<OnCloseAutoFocus>Implementations§
Source§impl AlertDialogOptions
impl AlertDialogOptions
pub fn initial_focus(self, initial_focus: AlertDialogInitialFocus) -> Self
pub fn on_open_auto_focus(self, hook: Option<OnOpenAutoFocus>) -> Self
pub fn on_close_auto_focus(self, hook: Option<OnCloseAutoFocus>) -> Self
Trait Implementations§
Source§impl Clone for AlertDialogOptions
impl Clone for AlertDialogOptions
Source§fn clone(&self) -> AlertDialogOptions
fn clone(&self) -> AlertDialogOptions
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 moreSource§impl Debug for AlertDialogOptions
impl Debug for AlertDialogOptions
Source§impl Default for AlertDialogOptions
impl Default for AlertDialogOptions
Source§fn default() -> AlertDialogOptions
fn default() -> AlertDialogOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AlertDialogOptions
impl !RefUnwindSafe for AlertDialogOptions
impl !Send for AlertDialogOptions
impl !Sync for AlertDialogOptions
impl Unpin for AlertDialogOptions
impl UnsafeUnpin for AlertDialogOptions
impl !UnwindSafe for AlertDialogOptions
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