#[repr(transparent)]pub struct ArkUI_PageFlipMode(pub c_uint);Available on crate features
api-12 and api-15 only.Expand description
Enumerates the page flipping modes using the mouse wheel for the Swiper component.
Available since API-level: 15
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_PageFlipMode
impl ArkUI_PageFlipMode
Sourcepub const ARKUI_PAGE_FLIP_MODE_CONTINUOUS: ArkUI_PageFlipMode
pub const ARKUI_PAGE_FLIP_MODE_CONTINUOUS: ArkUI_PageFlipMode
When the mouse wheel is scrolled continuously, multiple pages are flipped, which is determined by the number of times that mouse events are reported.
Sourcepub const ARKUI_PAGE_FLIP_MODE_SINGLE: ArkUI_PageFlipMode
pub const ARKUI_PAGE_FLIP_MODE_SINGLE: ArkUI_PageFlipMode
The system does not respond to other mouse wheel events until the page flipping animation ends.
Trait Implementations§
Source§impl Clone for ArkUI_PageFlipMode
impl Clone for ArkUI_PageFlipMode
Source§fn clone(&self) -> ArkUI_PageFlipMode
fn clone(&self) -> ArkUI_PageFlipMode
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_PageFlipMode
impl Debug for ArkUI_PageFlipMode
Source§impl Hash for ArkUI_PageFlipMode
impl Hash for ArkUI_PageFlipMode
Source§impl PartialEq for ArkUI_PageFlipMode
impl PartialEq for ArkUI_PageFlipMode
impl Copy for ArkUI_PageFlipMode
impl Eq for ArkUI_PageFlipMode
impl StructuralPartialEq for ArkUI_PageFlipMode
Auto Trait Implementations§
impl Freeze for ArkUI_PageFlipMode
impl RefUnwindSafe for ArkUI_PageFlipMode
impl Send for ArkUI_PageFlipMode
impl Sync for ArkUI_PageFlipMode
impl Unpin for ArkUI_PageFlipMode
impl UnwindSafe for ArkUI_PageFlipMode
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)