#[repr(transparent)]pub struct ArkUI_TextSpanType(pub c_uint);Available on crate features
api-12 and api-22 only.Expand description
Enumerates the text span type.
Available since API-level: 22
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextSpanType
impl ArkUI_TextSpanType
Sourcepub const ARKUI_TEXT_SPAN_TYPE_TEXT: ArkUI_TextSpanType
pub const ARKUI_TEXT_SPAN_TYPE_TEXT: ArkUI_TextSpanType
The span type only contains text.
Sourcepub const ARKUI_TEXT_SPAN_TYPE_IMAGE: ArkUI_TextSpanType
pub const ARKUI_TEXT_SPAN_TYPE_IMAGE: ArkUI_TextSpanType
The span type only contains image.
Sourcepub const ARKUI_TEXT_SPAN_TYPE_MIXED: ArkUI_TextSpanType
pub const ARKUI_TEXT_SPAN_TYPE_MIXED: ArkUI_TextSpanType
The span type contains both text and image.
Sourcepub const ARKUI_TEXT_SPAN_TYPE_DEFAULT: ArkUI_TextSpanType
pub const ARKUI_TEXT_SPAN_TYPE_DEFAULT: ArkUI_TextSpanType
When no other types are explicitly specified, this type will be matched. When this type is registered but TEXT, IMAGE, or MIXED types are not registered, this type will be triggered and displayed for those registered types.
Trait Implementations§
Source§impl Clone for ArkUI_TextSpanType
impl Clone for ArkUI_TextSpanType
Source§fn clone(&self) -> ArkUI_TextSpanType
fn clone(&self) -> ArkUI_TextSpanType
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_TextSpanType
impl Debug for ArkUI_TextSpanType
Source§impl Hash for ArkUI_TextSpanType
impl Hash for ArkUI_TextSpanType
Source§impl PartialEq for ArkUI_TextSpanType
impl PartialEq for ArkUI_TextSpanType
Source§fn eq(&self, other: &ArkUI_TextSpanType) -> bool
fn eq(&self, other: &ArkUI_TextSpanType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_TextSpanType
impl Eq for ArkUI_TextSpanType
impl StructuralPartialEq for ArkUI_TextSpanType
Auto Trait Implementations§
impl Freeze for ArkUI_TextSpanType
impl RefUnwindSafe for ArkUI_TextSpanType
impl Send for ArkUI_TextSpanType
impl Sync for ArkUI_TextSpanType
impl Unpin for ArkUI_TextSpanType
impl UnsafeUnpin for ArkUI_TextSpanType
impl UnwindSafe for ArkUI_TextSpanType
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