#[repr(transparent)]pub struct ArkUI_LayoutSafeAreaEdge(pub c_uint);Available on crate features
api-12 and api-23 only.Expand description
Define the edges for expanding the safe area in layout.
Available since API-level: 23
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_LayoutSafeAreaEdge
impl ArkUI_LayoutSafeAreaEdge
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_TOP: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_TOP: ArkUI_LayoutSafeAreaEdge
Top edge of the safe area.
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_BOTTOM: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_BOTTOM: ArkUI_LayoutSafeAreaEdge
Bottom edge of the safe area.
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_START: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_START: ArkUI_LayoutSafeAreaEdge
Start edge of the safe area.
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_END: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_END: ArkUI_LayoutSafeAreaEdge
End edge of the safe area.
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_VERTICAL: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_VERTICAL: ArkUI_LayoutSafeAreaEdge
Vertical edge of the safe area.
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_HORIZONTAL: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_HORIZONTAL: ArkUI_LayoutSafeAreaEdge
Horizontal edge of the safe area.
Sourcepub const ARKUI_LAYOUT_SAFE_AREA_EDGE_ALL: ArkUI_LayoutSafeAreaEdge
pub const ARKUI_LAYOUT_SAFE_AREA_EDGE_ALL: ArkUI_LayoutSafeAreaEdge
All edges of the safe area.
Trait Implementations§
Source§impl Clone for ArkUI_LayoutSafeAreaEdge
impl Clone for ArkUI_LayoutSafeAreaEdge
Source§fn clone(&self) -> ArkUI_LayoutSafeAreaEdge
fn clone(&self) -> ArkUI_LayoutSafeAreaEdge
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_LayoutSafeAreaEdge
impl Debug for ArkUI_LayoutSafeAreaEdge
Source§impl Hash for ArkUI_LayoutSafeAreaEdge
impl Hash for ArkUI_LayoutSafeAreaEdge
Source§impl PartialEq for ArkUI_LayoutSafeAreaEdge
impl PartialEq for ArkUI_LayoutSafeAreaEdge
Source§fn eq(&self, other: &ArkUI_LayoutSafeAreaEdge) -> bool
fn eq(&self, other: &ArkUI_LayoutSafeAreaEdge) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for ArkUI_LayoutSafeAreaEdge
impl Eq for ArkUI_LayoutSafeAreaEdge
impl StructuralPartialEq for ArkUI_LayoutSafeAreaEdge
Auto Trait Implementations§
impl Freeze for ArkUI_LayoutSafeAreaEdge
impl RefUnwindSafe for ArkUI_LayoutSafeAreaEdge
impl Send for ArkUI_LayoutSafeAreaEdge
impl Sync for ArkUI_LayoutSafeAreaEdge
impl Unpin for ArkUI_LayoutSafeAreaEdge
impl UnsafeUnpin for ArkUI_LayoutSafeAreaEdge
impl UnwindSafe for ArkUI_LayoutSafeAreaEdge
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