#[repr(transparent)]pub struct ArkUI_RelativeLayoutChainStyle(pub c_uint);Available on crate feature
api-12 only.Expand description
defines the style of the chain.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_RelativeLayoutChainStyle
impl ArkUI_RelativeLayoutChainStyle
Sourcepub const ARKUI_RELATIVE_LAYOUT_CHAIN_STYLE_SPREAD: ArkUI_RelativeLayoutChainStyle
pub const ARKUI_RELATIVE_LAYOUT_CHAIN_STYLE_SPREAD: ArkUI_RelativeLayoutChainStyle
Components are evenly distributed among constraint anchor points.
Sourcepub const ARKUI_RELATIVE_LAYOUT_CHAIN_STYLE_SPREAD_INSIDE: ArkUI_RelativeLayoutChainStyle
pub const ARKUI_RELATIVE_LAYOUT_CHAIN_STYLE_SPREAD_INSIDE: ArkUI_RelativeLayoutChainStyle
Except for the first and last two sub-components, other components are evenly distributed between the constraint anchor points.
Sourcepub const ARKUI_RELATIVE_LAYOUT_CHAIN_STYLE_PACKED: ArkUI_RelativeLayoutChainStyle
pub const ARKUI_RELATIVE_LAYOUT_CHAIN_STYLE_PACKED: ArkUI_RelativeLayoutChainStyle
No gaps in subcomponents within the chain.
Trait Implementations§
Source§impl Clone for ArkUI_RelativeLayoutChainStyle
impl Clone for ArkUI_RelativeLayoutChainStyle
Source§fn clone(&self) -> ArkUI_RelativeLayoutChainStyle
fn clone(&self) -> ArkUI_RelativeLayoutChainStyle
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 moreimpl Copy for ArkUI_RelativeLayoutChainStyle
impl Eq for ArkUI_RelativeLayoutChainStyle
impl StructuralPartialEq for ArkUI_RelativeLayoutChainStyle
Auto Trait Implementations§
impl Freeze for ArkUI_RelativeLayoutChainStyle
impl RefUnwindSafe for ArkUI_RelativeLayoutChainStyle
impl Send for ArkUI_RelativeLayoutChainStyle
impl Sync for ArkUI_RelativeLayoutChainStyle
impl Unpin for ArkUI_RelativeLayoutChainStyle
impl UnwindSafe for ArkUI_RelativeLayoutChainStyle
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)