#[repr(transparent)]pub struct ArkUI_ScrollSource(pub c_uint);Available on crate feature
api-12 only.Expand description
Define the rolling source enumeration value.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_DRAG: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_DRAG: ArkUI_ScrollSource
Finger drag.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_FLING: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_FLING: ArkUI_ScrollSource
Inertial roll after finger drag.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_EDGE_EFFECT: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_EDGE_EFFECT: ArkUI_ScrollSource
Execute the EdgeEffect.Spring edge effect when crossing the boundary.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_OTHER_USER_INPUT: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_OTHER_USER_INPUT: ArkUI_ScrollSource
Other user input other than dragging, such as mouse wheel, keyboard events, etc.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_SCROLL_BAR: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_SCROLL_BAR: ArkUI_ScrollSource
Drag the scroll bar.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_SCROLL_BAR_FLING: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_SCROLL_BAR_FLING: ArkUI_ScrollSource
Inertia scrolling after dragging the scroll bar.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_SCROLLER: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_SCROLLER: ArkUI_ScrollSource
The scroll controller causes unanimated scrolling.
Source§impl ArkUI_ScrollSource
impl ArkUI_ScrollSource
Sourcepub const ARKUI_SCROLL_SOURCE_ANIMATION: ArkUI_ScrollSource
pub const ARKUI_SCROLL_SOURCE_ANIMATION: ArkUI_ScrollSource
The scroll controller causes the scroll to drive the painting.
Trait Implementations§
Source§impl Clone for ArkUI_ScrollSource
impl Clone for ArkUI_ScrollSource
Source§fn clone(&self) -> ArkUI_ScrollSource
fn clone(&self) -> ArkUI_ScrollSource
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_ScrollSource
impl Hash for ArkUI_ScrollSource
Source§impl PartialEq for ArkUI_ScrollSource
impl PartialEq for ArkUI_ScrollSource
impl Copy for ArkUI_ScrollSource
impl Eq for ArkUI_ScrollSource
impl StructuralPartialEq for ArkUI_ScrollSource
Auto Trait Implementations§
impl Freeze for ArkUI_ScrollSource
impl RefUnwindSafe for ArkUI_ScrollSource
impl Send for ArkUI_ScrollSource
impl Sync for ArkUI_ScrollSource
impl Unpin for ArkUI_ScrollSource
impl UnwindSafe for ArkUI_ScrollSource
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