#[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.
Source§impl ArkUI_FlexAlignment
impl ArkUI_FlexAlignment
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.
Source§impl ArkUI_FlexAlignment
impl ArkUI_FlexAlignment
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.
Source§impl ArkUI_FlexAlignment
impl ArkUI_FlexAlignment
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.
Source§impl ArkUI_FlexAlignment
impl ArkUI_FlexAlignment
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.
Source§impl ArkUI_FlexAlignment
impl ArkUI_FlexAlignment
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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more