#[repr(transparent)]pub struct ArkUI_Direction(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the modes in which components are laid out along the main axis of the container.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_Direction
impl ArkUI_Direction
Sourcepub const ARKUI_DIRECTION_LTR: ArkUI_Direction
pub const ARKUI_DIRECTION_LTR: ArkUI_Direction
Components are arranged from left to right.
Source§impl ArkUI_Direction
impl ArkUI_Direction
Sourcepub const ARKUI_DIRECTION_RTL: ArkUI_Direction
pub const ARKUI_DIRECTION_RTL: ArkUI_Direction
Components are arranged from right to left.
Source§impl ArkUI_Direction
impl ArkUI_Direction
Sourcepub const ARKUI_DIRECTION_AUTO: ArkUI_Direction
pub const ARKUI_DIRECTION_AUTO: ArkUI_Direction
The default layout direction is used.
Trait Implementations§
Source§impl Clone for ArkUI_Direction
impl Clone for ArkUI_Direction
Source§fn clone(&self) -> ArkUI_Direction
fn clone(&self) -> ArkUI_Direction
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 Hash for ArkUI_Direction
impl Hash for ArkUI_Direction
Source§impl PartialEq for ArkUI_Direction
impl PartialEq for ArkUI_Direction
impl Copy for ArkUI_Direction
impl Eq for ArkUI_Direction
impl StructuralPartialEq for ArkUI_Direction
Auto Trait Implementations§
impl Freeze for ArkUI_Direction
impl RefUnwindSafe for ArkUI_Direction
impl Send for ArkUI_Direction
impl Sync for ArkUI_Direction
impl Unpin for ArkUI_Direction
impl UnwindSafe for ArkUI_Direction
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