#[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.
Sourcepub const DIALOG_DISMISS_TOUCH_OUTSIDE: ArkUI_DismissReason
pub const DIALOG_DISMISS_TOUCH_OUTSIDE: ArkUI_DismissReason
Touching the mask.
Sourcepub const DIALOG_DISMISS_CLOSE_BUTTON: ArkUI_DismissReason
pub const DIALOG_DISMISS_CLOSE_BUTTON: ArkUI_DismissReason
Touching the Close button.
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 duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ArkUI_DismissReason
impl Debug for ArkUI_DismissReason
Source§impl Hash for ArkUI_DismissReason
impl Hash for ArkUI_DismissReason
Source§impl PartialEq for ArkUI_DismissReason
impl PartialEq for ArkUI_DismissReason
impl Copy 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§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)