Skip to main content

PlatformScrollPhysics

Type Alias PlatformScrollPhysics 

Source
pub type PlatformScrollPhysics = PooledScrollPhysics<ScrollPhysicsProfile>;
Expand description

Platform-preset PooledScrollPhysics engine ready to install onto LaidOutScene, SkiaBackend, or DesktopSession.

Aliased Type§

pub struct PlatformScrollPhysics { /* private fields */ }

Implementations§

Source§

impl PlatformScrollPhysics

Source

pub fn platform_default() -> Self

Source

pub fn apple() -> Self

Source

pub fn android() -> Self

Source

pub fn windows() -> Self

Source

pub fn linux() -> Self

Source

pub fn profile(&self) -> ScrollPhysicsProfile

Source

pub fn set_profile(&mut self, profile: ScrollPhysicsProfile)