#[repr(transparent)]pub struct ArkUI_SwiperNestedScrollMode(pub c_uint);Available on crate feature
api-12 only.Expand description
@brief Nested scrolling mode for Swiper components and parent components.
@since 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_SwiperNestedScrollMode
impl ArkUI_SwiperNestedScrollMode
Sourcepub const ARKUI_SWIPER_NESTED_SRCOLL_SELF_ONLY: ArkUI_SwiperNestedScrollMode = _
pub const ARKUI_SWIPER_NESTED_SRCOLL_SELF_ONLY: ArkUI_SwiperNestedScrollMode = _
Swiper only scrolls on its own and is not linked to its parent component.
Source§impl ArkUI_SwiperNestedScrollMode
impl ArkUI_SwiperNestedScrollMode
Sourcepub const ARKUI_SWIPER_NESTED_SRCOLL_SELF_FIRST: ArkUI_SwiperNestedScrollMode = _
pub const ARKUI_SWIPER_NESTED_SRCOLL_SELF_FIRST: ArkUI_SwiperNestedScrollMode = _
The Swiper itself scrolls first, and the parent component scrolls after it reaches the edge. After the parent component scrolls to the edge, if the parent component has an edge effect, the parent component triggers the edge effect; otherwise, the Swiper triggers the edge effect.
Trait Implementations§
Source§impl Clone for ArkUI_SwiperNestedScrollMode
impl Clone for ArkUI_SwiperNestedScrollMode
Source§fn clone(&self) -> ArkUI_SwiperNestedScrollMode
fn clone(&self) -> ArkUI_SwiperNestedScrollMode
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_SwiperNestedScrollMode
impl Hash for ArkUI_SwiperNestedScrollMode
Source§impl PartialEq for ArkUI_SwiperNestedScrollMode
impl PartialEq for ArkUI_SwiperNestedScrollMode
Source§fn eq(&self, other: &ArkUI_SwiperNestedScrollMode) -> bool
fn eq(&self, other: &ArkUI_SwiperNestedScrollMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for ArkUI_SwiperNestedScrollMode
impl StructuralPartialEq for ArkUI_SwiperNestedScrollMode
Auto Trait Implementations§
impl Freeze for ArkUI_SwiperNestedScrollMode
impl RefUnwindSafe for ArkUI_SwiperNestedScrollMode
impl Send for ArkUI_SwiperNestedScrollMode
impl Sync for ArkUI_SwiperNestedScrollMode
impl Unpin for ArkUI_SwiperNestedScrollMode
impl UnwindSafe for ArkUI_SwiperNestedScrollMode
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