#[repr(transparent)]pub struct ArkUI_ScrollDirection(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the scroll directions for the
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ScrollDirection
impl ArkUI_ScrollDirection
Sourcepub const ARKUI_SCROLL_DIRECTION_VERTICAL: ArkUI_ScrollDirection
pub const ARKUI_SCROLL_DIRECTION_VERTICAL: ArkUI_ScrollDirection
Only vertical scrolling is supported.
Sourcepub const ARKUI_SCROLL_DIRECTION_HORIZONTAL: ArkUI_ScrollDirection
pub const ARKUI_SCROLL_DIRECTION_HORIZONTAL: ArkUI_ScrollDirection
Only horizontal scrolling is supported.
Sourcepub const ARKUI_SCROLL_DIRECTION_NONE: ArkUI_ScrollDirection
pub const ARKUI_SCROLL_DIRECTION_NONE: ArkUI_ScrollDirection
Scrolling is not allowed.
Sourcepub const ARKUI_SCROLL_DIRECTION_FREE: ArkUI_ScrollDirection
Available on crate feature api-20 only.
pub const ARKUI_SCROLL_DIRECTION_FREE: ArkUI_ScrollDirection
api-20 only.Free scrolling in both directions.
Available since API-level: 20
Trait Implementations§
Source§impl Clone for ArkUI_ScrollDirection
impl Clone for ArkUI_ScrollDirection
Source§fn clone(&self) -> ArkUI_ScrollDirection
fn clone(&self) -> ArkUI_ScrollDirection
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 moreSource§impl Debug for ArkUI_ScrollDirection
impl Debug for ArkUI_ScrollDirection
Source§impl Hash for ArkUI_ScrollDirection
impl Hash for ArkUI_ScrollDirection
Source§impl PartialEq for ArkUI_ScrollDirection
impl PartialEq for ArkUI_ScrollDirection
impl Copy for ArkUI_ScrollDirection
impl Eq for ArkUI_ScrollDirection
impl StructuralPartialEq for ArkUI_ScrollDirection
Auto Trait Implementations§
impl Freeze for ArkUI_ScrollDirection
impl RefUnwindSafe for ArkUI_ScrollDirection
impl Send for ArkUI_ScrollDirection
impl Sync for ArkUI_ScrollDirection
impl Unpin for ArkUI_ScrollDirection
impl UnwindSafe for ArkUI_ScrollDirection
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)