#[repr(transparent)]pub struct ArkUI_EdgeEffect(pub c_uint);Available on crate feature
api-12 only.Expand description
Enumerates the effects used at the edges of the component when the boundary of the scrollable content is reached.
Available since API-level: 12
Tuple Fields§
§0: c_uintImplementations§
Source§impl ArkUI_EdgeEffect
impl ArkUI_EdgeEffect
Sourcepub const ARKUI_EDGE_EFFECT_SPRING: ArkUI_EdgeEffect
pub const ARKUI_EDGE_EFFECT_SPRING: ArkUI_EdgeEffect
Spring effect. When at one of the edges, the component can move beyond the bounds based on the initial speed or through touches, and produces a bounce effect when the user releases their finger.
Source§impl ArkUI_EdgeEffect
impl ArkUI_EdgeEffect
Sourcepub const ARKUI_EDGE_EFFECT_FADE: ArkUI_EdgeEffect
pub const ARKUI_EDGE_EFFECT_FADE: ArkUI_EdgeEffect
Fade effect. When at one of the edges, the component produces a fade effect.
Source§impl ArkUI_EdgeEffect
impl ArkUI_EdgeEffect
Sourcepub const ARKUI_EDGE_EFFECT_NONE: ArkUI_EdgeEffect
pub const ARKUI_EDGE_EFFECT_NONE: ArkUI_EdgeEffect
No effect after the scrollbar is moved to the edge.
Trait Implementations§
Source§impl Clone for ArkUI_EdgeEffect
impl Clone for ArkUI_EdgeEffect
Source§fn clone(&self) -> ArkUI_EdgeEffect
fn clone(&self) -> ArkUI_EdgeEffect
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_EdgeEffect
impl Hash for ArkUI_EdgeEffect
Source§impl PartialEq for ArkUI_EdgeEffect
impl PartialEq for ArkUI_EdgeEffect
impl Copy for ArkUI_EdgeEffect
impl Eq for ArkUI_EdgeEffect
impl StructuralPartialEq for ArkUI_EdgeEffect
Auto Trait Implementations§
impl Freeze for ArkUI_EdgeEffect
impl RefUnwindSafe for ArkUI_EdgeEffect
impl Send for ArkUI_EdgeEffect
impl Sync for ArkUI_EdgeEffect
impl Unpin for ArkUI_EdgeEffect
impl UnwindSafe for ArkUI_EdgeEffect
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