#[repr(transparent)]pub struct ArkUI_ItemAlignment(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the modes in which components are laid out along the cross axis of the container.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ItemAlignment
impl ArkUI_ItemAlignment
Sourcepub const ARKUI_ITEM_ALIGNMENT_AUTO: ArkUI_ItemAlignment
pub const ARKUI_ITEM_ALIGNMENT_AUTO: ArkUI_ItemAlignment
The default configuration in the container is used.
Sourcepub const ARKUI_ITEM_ALIGNMENT_START: ArkUI_ItemAlignment
pub const ARKUI_ITEM_ALIGNMENT_START: ArkUI_ItemAlignment
The items in the container are aligned with the cross-start edge.
Sourcepub const ARKUI_ITEM_ALIGNMENT_CENTER: ArkUI_ItemAlignment
pub const ARKUI_ITEM_ALIGNMENT_CENTER: ArkUI_ItemAlignment
The items in the container are centered along the cross axis.
Sourcepub const ARKUI_ITEM_ALIGNMENT_END: ArkUI_ItemAlignment
pub const ARKUI_ITEM_ALIGNMENT_END: ArkUI_ItemAlignment
The items in the container are aligned with the cross-end edge.
Sourcepub const ARKUI_ITEM_ALIGNMENT_STRETCH: ArkUI_ItemAlignment
pub const ARKUI_ITEM_ALIGNMENT_STRETCH: ArkUI_ItemAlignment
The items in the container are stretched and padded along the cross axis.
Sourcepub const ARKUI_ITEM_ALIGNMENT_BASELINE: ArkUI_ItemAlignment
pub const ARKUI_ITEM_ALIGNMENT_BASELINE: ArkUI_ItemAlignment
The items in the container are aligned in such a manner that their text baselines are aligned along the cross axis.
Trait Implementations§
Source§impl Clone for ArkUI_ItemAlignment
impl Clone for ArkUI_ItemAlignment
Source§fn clone(&self) -> ArkUI_ItemAlignment
fn clone(&self) -> ArkUI_ItemAlignment
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_ItemAlignment
impl Debug for ArkUI_ItemAlignment
Source§impl Hash for ArkUI_ItemAlignment
impl Hash for ArkUI_ItemAlignment
Source§impl PartialEq for ArkUI_ItemAlignment
impl PartialEq for ArkUI_ItemAlignment
impl Copy for ArkUI_ItemAlignment
impl Eq for ArkUI_ItemAlignment
impl StructuralPartialEq for ArkUI_ItemAlignment
Auto Trait Implementations§
impl Freeze for ArkUI_ItemAlignment
impl RefUnwindSafe for ArkUI_ItemAlignment
impl Send for ArkUI_ItemAlignment
impl Sync for ArkUI_ItemAlignment
impl Unpin for ArkUI_ItemAlignment
impl UnwindSafe for ArkUI_ItemAlignment
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)