#[repr(transparent)]pub struct ArkUI_GridItemAlignment(pub c_uint);Available on crate features
api-12 and api-22 only.Expand description
Enumerates the grid item alignment modes.
Available since API-level: 22
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_GridItemAlignment
impl ArkUI_GridItemAlignment
Sourcepub const GRID_ITEM_ALIGNMENT_DEFAULT: ArkUI_GridItemAlignment
pub const GRID_ITEM_ALIGNMENT_DEFAULT: ArkUI_GridItemAlignment
Use the default alignment mode of the grid.
Sourcepub const GRID_ITEM_ALIGNMENT_STRETCH: ArkUI_GridItemAlignment
pub const GRID_ITEM_ALIGNMENT_STRETCH: ArkUI_GridItemAlignment
Set the height of all grid items in a row to match the height of the tallest item in that row.
Trait Implementations§
Source§impl Clone for ArkUI_GridItemAlignment
impl Clone for ArkUI_GridItemAlignment
Source§fn clone(&self) -> ArkUI_GridItemAlignment
fn clone(&self) -> ArkUI_GridItemAlignment
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_GridItemAlignment
impl Debug for ArkUI_GridItemAlignment
Source§impl Hash for ArkUI_GridItemAlignment
impl Hash for ArkUI_GridItemAlignment
Source§impl PartialEq for ArkUI_GridItemAlignment
impl PartialEq for ArkUI_GridItemAlignment
Source§fn eq(&self, other: &ArkUI_GridItemAlignment) -> bool
fn eq(&self, other: &ArkUI_GridItemAlignment) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_GridItemAlignment
impl Eq for ArkUI_GridItemAlignment
impl StructuralPartialEq for ArkUI_GridItemAlignment
Auto Trait Implementations§
impl Freeze for ArkUI_GridItemAlignment
impl RefUnwindSafe for ArkUI_GridItemAlignment
impl Send for ArkUI_GridItemAlignment
impl Sync for ArkUI_GridItemAlignment
impl Unpin for ArkUI_GridItemAlignment
impl UnsafeUnpin for ArkUI_GridItemAlignment
impl UnwindSafe for ArkUI_GridItemAlignment
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