#[repr(transparent)]pub struct ArkUI_TextVerticalAlignment(pub c_uint);Available on crate features
api-12 and api-20 only.Expand description
Enumerates text vertical alignment styles.
Available since API-level: 20
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_TextVerticalAlignment
impl ArkUI_TextVerticalAlignment
Sourcepub const ARKUI_TEXT_VERTICAL_ALIGNMENT_BASELINE: ArkUI_TextVerticalAlignment
pub const ARKUI_TEXT_VERTICAL_ALIGNMENT_BASELINE: ArkUI_TextVerticalAlignment
Aligned to the baseline.
Sourcepub const ARKUI_TEXT_VERTICAL_ALIGNMENT_BOTTOM: ArkUI_TextVerticalAlignment
pub const ARKUI_TEXT_VERTICAL_ALIGNMENT_BOTTOM: ArkUI_TextVerticalAlignment
Bottom aligned.
Sourcepub const ARKUI_TEXT_VERTICAL_ALIGNMENT_CENTER: ArkUI_TextVerticalAlignment
pub const ARKUI_TEXT_VERTICAL_ALIGNMENT_CENTER: ArkUI_TextVerticalAlignment
Center aligned.
Sourcepub const ARKUI_TEXT_VERTICAL_ALIGNMENT_TOP: ArkUI_TextVerticalAlignment
pub const ARKUI_TEXT_VERTICAL_ALIGNMENT_TOP: ArkUI_TextVerticalAlignment
Top aligned.
Trait Implementations§
Source§impl Clone for ArkUI_TextVerticalAlignment
impl Clone for ArkUI_TextVerticalAlignment
Source§fn clone(&self) -> ArkUI_TextVerticalAlignment
fn clone(&self) -> ArkUI_TextVerticalAlignment
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_TextVerticalAlignment
impl Debug for ArkUI_TextVerticalAlignment
Source§impl Hash for ArkUI_TextVerticalAlignment
impl Hash for ArkUI_TextVerticalAlignment
Source§impl PartialEq for ArkUI_TextVerticalAlignment
impl PartialEq for ArkUI_TextVerticalAlignment
Source§fn eq(&self, other: &ArkUI_TextVerticalAlignment) -> bool
fn eq(&self, other: &ArkUI_TextVerticalAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_TextVerticalAlignment
impl Eq for ArkUI_TextVerticalAlignment
impl StructuralPartialEq for ArkUI_TextVerticalAlignment
Auto Trait Implementations§
impl Freeze for ArkUI_TextVerticalAlignment
impl RefUnwindSafe for ArkUI_TextVerticalAlignment
impl Send for ArkUI_TextVerticalAlignment
impl Sync for ArkUI_TextVerticalAlignment
impl Unpin for ArkUI_TextVerticalAlignment
impl UnsafeUnpin for ArkUI_TextVerticalAlignment
impl UnwindSafe for ArkUI_TextVerticalAlignment
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