#[repr(transparent)]pub struct ArkUI_KeyProcessingMode(pub c_uint);Available on crate feature
api-15 only.Expand description
Determines the priority of key event processing when component cannot handle the key event.
Available since API-level: 15
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_KeyProcessingMode
impl ArkUI_KeyProcessingMode
Sourcepub const ARKUI_KEY_PROCESSING_MODE_FOCUS_NAVIGATION: ArkUI_KeyProcessingMode
pub const ARKUI_KEY_PROCESSING_MODE_FOCUS_NAVIGATION: ArkUI_KeyProcessingMode
Key events are used to move focus.
Sourcepub const ARKUI_KEY_PROCESSING_MODE_FOCUS_ANCESTOR_EVENT: ArkUI_KeyProcessingMode
pub const ARKUI_KEY_PROCESSING_MODE_FOCUS_ANCESTOR_EVENT: ArkUI_KeyProcessingMode
Key events bubble up to ancestors.
Trait Implementations§
Source§impl Clone for ArkUI_KeyProcessingMode
impl Clone for ArkUI_KeyProcessingMode
Source§fn clone(&self) -> ArkUI_KeyProcessingMode
fn clone(&self) -> ArkUI_KeyProcessingMode
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_KeyProcessingMode
impl Debug for ArkUI_KeyProcessingMode
Source§impl Hash for ArkUI_KeyProcessingMode
impl Hash for ArkUI_KeyProcessingMode
Source§impl PartialEq for ArkUI_KeyProcessingMode
impl PartialEq for ArkUI_KeyProcessingMode
impl Copy for ArkUI_KeyProcessingMode
impl Eq for ArkUI_KeyProcessingMode
impl StructuralPartialEq for ArkUI_KeyProcessingMode
Auto Trait Implementations§
impl Freeze for ArkUI_KeyProcessingMode
impl RefUnwindSafe for ArkUI_KeyProcessingMode
impl Send for ArkUI_KeyProcessingMode
impl Sync for ArkUI_KeyProcessingMode
impl Unpin for ArkUI_KeyProcessingMode
impl UnwindSafe for ArkUI_KeyProcessingMode
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)