#[repr(transparent)]pub struct ArkUI_TextResponseType(pub c_uint);Available on crate features
api-12 and api-22 only.Expand description
Enumerates the text response type.
Available since API-level: 22
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextResponseType
impl ArkUI_TextResponseType
Sourcepub const ARKUI_TEXT_RESPONSE_TYPE_RIGHT_CLICK: ArkUI_TextResponseType
pub const ARKUI_TEXT_RESPONSE_TYPE_RIGHT_CLICK: ArkUI_TextResponseType
The response type of right click.
Sourcepub const ARKUI_TEXT_RESPONSE_TYPE_LONG_PRESS: ArkUI_TextResponseType
pub const ARKUI_TEXT_RESPONSE_TYPE_LONG_PRESS: ArkUI_TextResponseType
The response type of long press.
Sourcepub const ARKUI_TEXT_RESPONSE_TYPE_SELECT: ArkUI_TextResponseType
pub const ARKUI_TEXT_RESPONSE_TYPE_SELECT: ArkUI_TextResponseType
The response type of select by mouse.
Sourcepub const ARKUI_TEXT_RESPONSE_TYPE_DEFAULT: ArkUI_TextResponseType
pub const ARKUI_TEXT_RESPONSE_TYPE_DEFAULT: ArkUI_TextResponseType
When no other types are explicitly specified, this type will be matched. When this type is registered but RIGHT_CLICK, LONG_PRESS, or SELECT types are not registered, this type will be triggered and displayed for right-click, long press, and mouse selection actions.
Trait Implementations§
Source§impl Clone for ArkUI_TextResponseType
impl Clone for ArkUI_TextResponseType
Source§fn clone(&self) -> ArkUI_TextResponseType
fn clone(&self) -> ArkUI_TextResponseType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ArkUI_TextResponseType
impl Debug for ArkUI_TextResponseType
Source§impl Hash for ArkUI_TextResponseType
impl Hash for ArkUI_TextResponseType
Source§impl PartialEq for ArkUI_TextResponseType
impl PartialEq for ArkUI_TextResponseType
Source§fn eq(&self, other: &ArkUI_TextResponseType) -> bool
fn eq(&self, other: &ArkUI_TextResponseType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_TextResponseType
impl Eq for ArkUI_TextResponseType
impl StructuralPartialEq for ArkUI_TextResponseType
Auto Trait Implementations§
impl Freeze for ArkUI_TextResponseType
impl RefUnwindSafe for ArkUI_TextResponseType
impl Send for ArkUI_TextResponseType
impl Sync for ArkUI_TextResponseType
impl Unpin for ArkUI_TextResponseType
impl UnsafeUnpin for ArkUI_TextResponseType
impl UnwindSafe for ArkUI_TextResponseType
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