#[repr(transparent)]pub struct ArkUI_ItemFillPolicy(pub c_int);Available on crate features
api-12 and api-22 only.Expand description
Specifies the number of columns for different responsive breakpoint specifications.
Available since API-level: 22
Tuple Fields§
§0: c_intImplementations§
Source§impl ArkUI_ItemFillPolicy
impl ArkUI_ItemFillPolicy
Sourcepub const ARKUI_ITEMFILLPOLICY_NONE: ArkUI_ItemFillPolicy
pub const ARKUI_ITEMFILLPOLICY_NONE: ArkUI_ItemFillPolicy
No responsive breakpoint configuration.
Sourcepub const ARKUI_ITEMFILLPOLICY_DEFAULT: ArkUI_ItemFillPolicy
pub const ARKUI_ITEMFILLPOLICY_DEFAULT: ArkUI_ItemFillPolicy
Default responsive layout: List or Swiper component: 1 column (SM or smaller), 2 columns (MD), 3 columns (LG or larger). Grid or WaterFlow component: 2 columns (SM or smaller), 3 columns (MD), 5 columns (LG or larger).
Sourcepub const ARKUI_ITEMFILLPOLICY_SM1MD2LG3: ArkUI_ItemFillPolicy
pub const ARKUI_ITEMFILLPOLICY_SM1MD2LG3: ArkUI_ItemFillPolicy
1 column (SM or smaller), 2 columns (MD), 3 columns (LG or larger).
Sourcepub const ARKUI_ITEMFILLPOLICY_SM2MD3LG5: ArkUI_ItemFillPolicy
pub const ARKUI_ITEMFILLPOLICY_SM2MD3LG5: ArkUI_ItemFillPolicy
2 columns (SM or smaller), 3 columns (MD), 5 columns (LG or larger).
Trait Implementations§
Source§impl Clone for ArkUI_ItemFillPolicy
impl Clone for ArkUI_ItemFillPolicy
Source§fn clone(&self) -> ArkUI_ItemFillPolicy
fn clone(&self) -> ArkUI_ItemFillPolicy
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_ItemFillPolicy
impl Debug for ArkUI_ItemFillPolicy
Source§impl Hash for ArkUI_ItemFillPolicy
impl Hash for ArkUI_ItemFillPolicy
Source§impl PartialEq for ArkUI_ItemFillPolicy
impl PartialEq for ArkUI_ItemFillPolicy
Source§fn eq(&self, other: &ArkUI_ItemFillPolicy) -> bool
fn eq(&self, other: &ArkUI_ItemFillPolicy) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_ItemFillPolicy
impl Eq for ArkUI_ItemFillPolicy
impl StructuralPartialEq for ArkUI_ItemFillPolicy
Auto Trait Implementations§
impl Freeze for ArkUI_ItemFillPolicy
impl RefUnwindSafe for ArkUI_ItemFillPolicy
impl Send for ArkUI_ItemFillPolicy
impl Sync for ArkUI_ItemFillPolicy
impl Unpin for ArkUI_ItemFillPolicy
impl UnsafeUnpin for ArkUI_ItemFillPolicy
impl UnwindSafe for ArkUI_ItemFillPolicy
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