#[repr(transparent)]pub struct ArkUI_ScrollNestedMode(pub c_uint);api-12 only.Expand description
Defines nested scrolling options.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_ScrollNestedMode
impl ArkUI_ScrollNestedMode
Sourcepub const ARKUI_SCROLL_NESTED_MODE_SELF_ONLY: ArkUI_ScrollNestedMode
pub const ARKUI_SCROLL_NESTED_MODE_SELF_ONLY: ArkUI_ScrollNestedMode
The scrolling is contained within the component, and no scroll chaining occurs, that is, the parent component does not scroll when the component scrolling reaches the boundary.
Sourcepub const ARKUI_SCROLL_NESTED_MODE_SELF_FIRST: ArkUI_ScrollNestedMode
pub const ARKUI_SCROLL_NESTED_MODE_SELF_FIRST: ArkUI_ScrollNestedMode
The component scrolls first, and when it hits the boundary, the parent component scrolls. When the parent component hits the boundary, its edge effect is displayed. If no edge effect is specified for the parent component, the edge effect of the child component is displayed instead.
Sourcepub const ARKUI_SCROLL_NESTED_MODE_PARENT_FIRST: ArkUI_ScrollNestedMode
pub const ARKUI_SCROLL_NESTED_MODE_PARENT_FIRST: ArkUI_ScrollNestedMode
The parent component scrolls first, and when it hits the boundary, the component scrolls. When the component hits the boundary, its edge effect is displayed. If no edge effect is specified for the component, the edge effect of the parent component is displayed instead.
Sourcepub const ARKUI_SCROLL_NESTED_MODE_PARALLEL: ArkUI_ScrollNestedMode
pub const ARKUI_SCROLL_NESTED_MODE_PARALLEL: ArkUI_ScrollNestedMode
The component and its parent component scroll at the same time. When both the component and its parent component hit the boundary, the edge effect of the component is displayed. If no edge effect is specified for the component, the edge effect of the parent component is displayed instead.
Trait Implementations§
Source§impl Clone for ArkUI_ScrollNestedMode
impl Clone for ArkUI_ScrollNestedMode
Source§fn clone(&self) -> ArkUI_ScrollNestedMode
fn clone(&self) -> ArkUI_ScrollNestedMode
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ArkUI_ScrollNestedMode
impl Debug for ArkUI_ScrollNestedMode
Source§impl Hash for ArkUI_ScrollNestedMode
impl Hash for ArkUI_ScrollNestedMode
Source§impl PartialEq for ArkUI_ScrollNestedMode
impl PartialEq for ArkUI_ScrollNestedMode
impl Copy for ArkUI_ScrollNestedMode
impl Eq for ArkUI_ScrollNestedMode
impl StructuralPartialEq for ArkUI_ScrollNestedMode
Auto Trait Implementations§
impl Freeze for ArkUI_ScrollNestedMode
impl RefUnwindSafe for ArkUI_ScrollNestedMode
impl Send for ArkUI_ScrollNestedMode
impl Sync for ArkUI_ScrollNestedMode
impl Unpin for ArkUI_ScrollNestedMode
impl UnwindSafe for ArkUI_ScrollNestedMode
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
§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)
clone_to_uninit)