#[repr(transparent)]pub struct ArkUI_TextCopyOptions(pub c_uint);Available on crate feature
api-12 only.Expand description
Defines whether copy and paste is allowed for text content.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextCopyOptions
impl ArkUI_TextCopyOptions
Sourcepub const ARKUI_TEXT_COPY_OPTIONS_NONE: ArkUI_TextCopyOptions
pub const ARKUI_TEXT_COPY_OPTIONS_NONE: ArkUI_TextCopyOptions
Copy is not allowed.
Source§impl ArkUI_TextCopyOptions
impl ArkUI_TextCopyOptions
Sourcepub const ARKUI_TEXT_COPY_OPTIONS_IN_APP: ArkUI_TextCopyOptions
pub const ARKUI_TEXT_COPY_OPTIONS_IN_APP: ArkUI_TextCopyOptions
Intra-application copy is allowed.
Source§impl ArkUI_TextCopyOptions
impl ArkUI_TextCopyOptions
Sourcepub const ARKUI_TEXT_COPY_OPTIONS_LOCAL_DEVICE: ArkUI_TextCopyOptions
pub const ARKUI_TEXT_COPY_OPTIONS_LOCAL_DEVICE: ArkUI_TextCopyOptions
Intra-device copy is allowed.
Source§impl ArkUI_TextCopyOptions
impl ArkUI_TextCopyOptions
Sourcepub const ARKUI_TEXT_COPY_OPTIONS_CROSS_DEVICE: ArkUI_TextCopyOptions
pub const ARKUI_TEXT_COPY_OPTIONS_CROSS_DEVICE: ArkUI_TextCopyOptions
Cross-device copy is allowed.
Trait Implementations§
Source§impl Clone for ArkUI_TextCopyOptions
impl Clone for ArkUI_TextCopyOptions
Source§fn clone(&self) -> ArkUI_TextCopyOptions
fn clone(&self) -> ArkUI_TextCopyOptions
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_TextCopyOptions
impl Hash for ArkUI_TextCopyOptions
Source§impl PartialEq for ArkUI_TextCopyOptions
impl PartialEq for ArkUI_TextCopyOptions
impl Copy for ArkUI_TextCopyOptions
impl Eq for ArkUI_TextCopyOptions
impl StructuralPartialEq for ArkUI_TextCopyOptions
Auto Trait Implementations§
impl Freeze for ArkUI_TextCopyOptions
impl RefUnwindSafe for ArkUI_TextCopyOptions
impl Send for ArkUI_TextCopyOptions
impl Sync for ArkUI_TextCopyOptions
impl Unpin for ArkUI_TextCopyOptions
impl UnwindSafe for ArkUI_TextCopyOptions
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