#[repr(transparent)]pub struct ArkUI_TextAlignment(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the text alignment mode.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextAlignment
impl ArkUI_TextAlignment
Sourcepub const ARKUI_TEXT_ALIGNMENT_START: ArkUI_TextAlignment
pub const ARKUI_TEXT_ALIGNMENT_START: ArkUI_TextAlignment
Aligned with the start.
Sourcepub const ARKUI_TEXT_ALIGNMENT_CENTER: ArkUI_TextAlignment
pub const ARKUI_TEXT_ALIGNMENT_CENTER: ArkUI_TextAlignment
Horizontally centered.
Sourcepub const ARKUI_TEXT_ALIGNMENT_END: ArkUI_TextAlignment
pub const ARKUI_TEXT_ALIGNMENT_END: ArkUI_TextAlignment
Aligned with the end.
Sourcepub const ARKUI_TEXT_ALIGNMENT_JUSTIFY: ArkUI_TextAlignment
pub const ARKUI_TEXT_ALIGNMENT_JUSTIFY: ArkUI_TextAlignment
Aligned with both margins.
Trait Implementations§
Source§impl Clone for ArkUI_TextAlignment
impl Clone for ArkUI_TextAlignment
Source§fn clone(&self) -> ArkUI_TextAlignment
fn clone(&self) -> ArkUI_TextAlignment
Returns a duplicate of the value. Read more
1.0.0§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_TextAlignment
impl Debug for ArkUI_TextAlignment
Source§impl Hash for ArkUI_TextAlignment
impl Hash for ArkUI_TextAlignment
Source§impl PartialEq for ArkUI_TextAlignment
impl PartialEq for ArkUI_TextAlignment
impl Copy for ArkUI_TextAlignment
impl Eq for ArkUI_TextAlignment
impl StructuralPartialEq for ArkUI_TextAlignment
Auto Trait Implementations§
impl Freeze for ArkUI_TextAlignment
impl RefUnwindSafe for ArkUI_TextAlignment
impl Send for ArkUI_TextAlignment
impl Sync for ArkUI_TextAlignment
impl Unpin for ArkUI_TextAlignment
impl UnwindSafe for ArkUI_TextAlignment
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)