#[repr(transparent)]pub struct ArkUI_TextDirection(pub c_uint);Available on crate features
api-12 and api-23 only.Expand description
Enumerates the text text direction.
Available since API-level: 23
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextDirection
impl ArkUI_TextDirection
Sourcepub const ARKUI_TEXT_DIRECTION_LTR: ArkUI_TextDirection
pub const ARKUI_TEXT_DIRECTION_LTR: ArkUI_TextDirection
The text direction is left to right.
Sourcepub const ARKUI_TEXT_DIRECTION_RTL: ArkUI_TextDirection
pub const ARKUI_TEXT_DIRECTION_RTL: ArkUI_TextDirection
The text direction is right to left.
Sourcepub const ARKUI_TEXT_DIRECTION_DEFAULT: ArkUI_TextDirection
pub const ARKUI_TEXT_DIRECTION_DEFAULT: ArkUI_TextDirection
The text direction follows the component layout.
Sourcepub const ARKUI_TEXT_DIRECTION_AUTO: ArkUI_TextDirection
pub const ARKUI_TEXT_DIRECTION_AUTO: ArkUI_TextDirection
The text direction follows the actual text.
Trait Implementations§
Source§impl Clone for ArkUI_TextDirection
impl Clone for ArkUI_TextDirection
Source§fn clone(&self) -> ArkUI_TextDirection
fn clone(&self) -> ArkUI_TextDirection
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_TextDirection
impl Debug for ArkUI_TextDirection
Source§impl Hash for ArkUI_TextDirection
impl Hash for ArkUI_TextDirection
Source§impl PartialEq for ArkUI_TextDirection
impl PartialEq for ArkUI_TextDirection
Source§fn eq(&self, other: &ArkUI_TextDirection) -> bool
fn eq(&self, other: &ArkUI_TextDirection) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_TextDirection
impl Eq for ArkUI_TextDirection
impl StructuralPartialEq for ArkUI_TextDirection
Auto Trait Implementations§
impl Freeze for ArkUI_TextDirection
impl RefUnwindSafe for ArkUI_TextDirection
impl Send for ArkUI_TextDirection
impl Sync for ArkUI_TextDirection
impl Unpin for ArkUI_TextDirection
impl UnsafeUnpin for ArkUI_TextDirection
impl UnwindSafe for ArkUI_TextDirection
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