#[repr(transparent)]pub struct ArkUI_ScrollState(pub c_uint);Available on crate feature
api-12 only.Expand description
Define the current scrolling state.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ScrollState
impl ArkUI_ScrollState
Sourcepub const ARKUI_SCROLL_STATE_IDLE: ArkUI_ScrollState
pub const ARKUI_SCROLL_STATE_IDLE: ArkUI_ScrollState
Idle state. Trigger when using the method provided by the controller to control scrolling, and trigger when dragging the scroll bar to scroll.
Source§impl ArkUI_ScrollState
impl ArkUI_ScrollState
Sourcepub const ARKUI_SCROLL_STATE_SCROLL: ArkUI_ScrollState
pub const ARKUI_SCROLL_STATE_SCROLL: ArkUI_ScrollState
Scroll state. Triggered when dragging the container with fingers to scroll.
Source§impl ArkUI_ScrollState
impl ArkUI_ScrollState
Sourcepub const ARKUI_SCROLL_STATE_FLING: ArkUI_ScrollState
pub const ARKUI_SCROLL_STATE_FLING: ArkUI_ScrollState
Inertial rolling state. Triggered when inertia rolling and bouncing back to the edge are performed after releasing the hand quickly.
Trait Implementations§
Source§impl Clone for ArkUI_ScrollState
impl Clone for ArkUI_ScrollState
Source§fn clone(&self) -> ArkUI_ScrollState
fn clone(&self) -> ArkUI_ScrollState
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_ScrollState
impl Hash for ArkUI_ScrollState
Source§impl PartialEq for ArkUI_ScrollState
impl PartialEq for ArkUI_ScrollState
impl Copy for ArkUI_ScrollState
impl Eq for ArkUI_ScrollState
impl StructuralPartialEq for ArkUI_ScrollState
Auto Trait Implementations§
impl Freeze for ArkUI_ScrollState
impl RefUnwindSafe for ArkUI_ScrollState
impl Send for ArkUI_ScrollState
impl Sync for ArkUI_ScrollState
impl Unpin for ArkUI_ScrollState
impl UnwindSafe for ArkUI_ScrollState
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