#[repr(transparent)]pub struct ArkUI_FlexAlignment(pub c_uint);api-12 only.Expand description
Enumerates the vertical alignment modes.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_FlexAlignment
impl ArkUI_FlexAlignment
Sourcepub const ARKUI_FLEX_ALIGNMENT_START: ArkUI_FlexAlignment
pub const ARKUI_FLEX_ALIGNMENT_START: ArkUI_FlexAlignment
The child components are aligned with the start edge of the main axis.
Sourcepub const ARKUI_FLEX_ALIGNMENT_CENTER: ArkUI_FlexAlignment
pub const ARKUI_FLEX_ALIGNMENT_CENTER: ArkUI_FlexAlignment
The child components are aligned in the center of the main axis.
Sourcepub const ARKUI_FLEX_ALIGNMENT_END: ArkUI_FlexAlignment
pub const ARKUI_FLEX_ALIGNMENT_END: ArkUI_FlexAlignment
The child components are aligned with the end edge of the main axis.
Sourcepub const ARKUI_FLEX_ALIGNMENT_SPACE_BETWEEN: ArkUI_FlexAlignment
pub const ARKUI_FLEX_ALIGNMENT_SPACE_BETWEEN: ArkUI_FlexAlignment
The child components are evenly distributed along the main axis. The space between any two adjacent components is the same. The first component is aligned with the main-start, and the last component is aligned with the main-end.
Sourcepub const ARKUI_FLEX_ALIGNMENT_SPACE_AROUND: ArkUI_FlexAlignment
pub const ARKUI_FLEX_ALIGNMENT_SPACE_AROUND: ArkUI_FlexAlignment
The child components are evenly distributed along the main axis. The space between any two adjacent components is the same. The space between the first component and main-start, and that between the last component and cross-main are both half the size of the space between two adjacent components.
Sourcepub const ARKUI_FLEX_ALIGNMENT_SPACE_EVENLY: ArkUI_FlexAlignment
pub const ARKUI_FLEX_ALIGNMENT_SPACE_EVENLY: ArkUI_FlexAlignment
The child components are evenly distributed along the main axis. The space between the first component and main-start, the space between the last component and main-end, and the space between any two adjacent components are the same.
Trait Implementations§
Source§impl Clone for ArkUI_FlexAlignment
impl Clone for ArkUI_FlexAlignment
Source§fn clone(&self) -> ArkUI_FlexAlignment
fn clone(&self) -> ArkUI_FlexAlignment
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArkUI_FlexAlignment
impl Debug for ArkUI_FlexAlignment
Source§impl Hash for ArkUI_FlexAlignment
impl Hash for ArkUI_FlexAlignment
Source§impl PartialEq for ArkUI_FlexAlignment
impl PartialEq for ArkUI_FlexAlignment
impl Copy for ArkUI_FlexAlignment
impl Eq for ArkUI_FlexAlignment
impl StructuralPartialEq for ArkUI_FlexAlignment
Auto Trait Implementations§
impl Freeze for ArkUI_FlexAlignment
impl RefUnwindSafe for ArkUI_FlexAlignment
impl Send for ArkUI_FlexAlignment
impl Sync for ArkUI_FlexAlignment
impl Unpin for ArkUI_FlexAlignment
impl UnwindSafe for ArkUI_FlexAlignment
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
§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)
clone_to_uninit)