#[repr(transparent)]pub struct ArkUI_DismissReason(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the actions for triggering closure of the dialog box.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_DismissReason
impl ArkUI_DismissReason
Sourcepub const DIALOG_DISMISS_BACK_PRESS: ArkUI_DismissReason
pub const DIALOG_DISMISS_BACK_PRESS: ArkUI_DismissReason
Touching the system-defined Back button or pressing the Esc key.
Source§impl ArkUI_DismissReason
impl ArkUI_DismissReason
Sourcepub const DIALOG_DISMISS_TOUCH_OUTSIDE: ArkUI_DismissReason
pub const DIALOG_DISMISS_TOUCH_OUTSIDE: ArkUI_DismissReason
Touching the mask.
Source§impl ArkUI_DismissReason
impl ArkUI_DismissReason
Sourcepub const DIALOG_DISMISS_CLOSE_BUTTON: ArkUI_DismissReason
pub const DIALOG_DISMISS_CLOSE_BUTTON: ArkUI_DismissReason
Touching the Close button.
Source§impl ArkUI_DismissReason
impl ArkUI_DismissReason
Sourcepub const DIALOG_DISMISS_SLIDE_DOWN: ArkUI_DismissReason
pub const DIALOG_DISMISS_SLIDE_DOWN: ArkUI_DismissReason
Sliding down.
Trait Implementations§
Source§impl Clone for ArkUI_DismissReason
impl Clone for ArkUI_DismissReason
Source§fn clone(&self) -> ArkUI_DismissReason
fn clone(&self) -> ArkUI_DismissReason
Returns a copy 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 Hash for ArkUI_DismissReason
impl Hash for ArkUI_DismissReason
Source§impl PartialEq for ArkUI_DismissReason
impl PartialEq for ArkUI_DismissReason
impl Eq for ArkUI_DismissReason
impl StructuralPartialEq for ArkUI_DismissReason
Auto Trait Implementations§
impl Freeze for ArkUI_DismissReason
impl RefUnwindSafe for ArkUI_DismissReason
impl Send for ArkUI_DismissReason
impl Sync for ArkUI_DismissReason
impl Unpin for ArkUI_DismissReason
impl UnwindSafe for ArkUI_DismissReason
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