#[repr(transparent)]pub struct ArkUI_TextOverflow(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the display modes when the text is too long.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextOverflow
impl ArkUI_TextOverflow
Sourcepub const ARKUI_TEXT_OVERFLOW_NONE: ArkUI_TextOverflow
pub const ARKUI_TEXT_OVERFLOW_NONE: ArkUI_TextOverflow
Extra-long text is not clipped.
Source§impl ArkUI_TextOverflow
impl ArkUI_TextOverflow
Sourcepub const ARKUI_TEXT_OVERFLOW_CLIP: ArkUI_TextOverflow
pub const ARKUI_TEXT_OVERFLOW_CLIP: ArkUI_TextOverflow
Extra-long text is clipped.
Source§impl ArkUI_TextOverflow
impl ArkUI_TextOverflow
Sourcepub const ARKUI_TEXT_OVERFLOW_ELLIPSIS: ArkUI_TextOverflow
pub const ARKUI_TEXT_OVERFLOW_ELLIPSIS: ArkUI_TextOverflow
An ellipsis (…) is used to represent text overflow.
Source§impl ArkUI_TextOverflow
impl ArkUI_TextOverflow
Sourcepub const ARKUI_TEXT_OVERFLOW_MARQUEE: ArkUI_TextOverflow
pub const ARKUI_TEXT_OVERFLOW_MARQUEE: ArkUI_TextOverflow
Text continuously scrolls when text overflow occurs.
Trait Implementations§
Source§impl Clone for ArkUI_TextOverflow
impl Clone for ArkUI_TextOverflow
Source§fn clone(&self) -> ArkUI_TextOverflow
fn clone(&self) -> ArkUI_TextOverflow
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_TextOverflow
impl Hash for ArkUI_TextOverflow
Source§impl PartialEq for ArkUI_TextOverflow
impl PartialEq for ArkUI_TextOverflow
impl Copy for ArkUI_TextOverflow
impl Eq for ArkUI_TextOverflow
impl StructuralPartialEq for ArkUI_TextOverflow
Auto Trait Implementations§
impl Freeze for ArkUI_TextOverflow
impl RefUnwindSafe for ArkUI_TextOverflow
impl Send for ArkUI_TextOverflow
impl Sync for ArkUI_TextOverflow
impl Unpin for ArkUI_TextOverflow
impl UnwindSafe for ArkUI_TextOverflow
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