#[repr(transparent)]pub struct ArkUI_RelativeLayoutChainStyle(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief defines the style of the chain.
@since 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.
Source§impl ArkUI_RelativeLayoutChainStyle
impl ArkUI_RelativeLayoutChainStyle
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.
Source§impl ArkUI_RelativeLayoutChainStyle
impl ArkUI_RelativeLayoutChainStyle
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 copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl PartialEq for ArkUI_RelativeLayoutChainStyle
impl PartialEq for ArkUI_RelativeLayoutChainStyle
Source§fn eq(&self, other: &ArkUI_RelativeLayoutChainStyle) -> bool
fn eq(&self, other: &ArkUI_RelativeLayoutChainStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.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§
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