Struct pax_std::scroller::PlatformSpecificScrollParams
source · pub struct PlatformSpecificScrollParams {
pub deacceleration: f64,
pub damping: f64,
pub fling: bool,
}
Fields§
§deacceleration: f64
§damping: f64
§fling: bool
Trait Implementations§
source§impl Clone for PlatformSpecificScrollParams
impl Clone for PlatformSpecificScrollParams
source§fn clone(&self) -> PlatformSpecificScrollParams
fn clone(&self) -> PlatformSpecificScrollParams
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 Debug for PlatformSpecificScrollParams
impl Debug for PlatformSpecificScrollParams
source§impl Default for PlatformSpecificScrollParams
impl Default for PlatformSpecificScrollParams
source§fn default() -> PlatformSpecificScrollParams
fn default() -> PlatformSpecificScrollParams
Returns the “default value” for a type. Read more
source§impl<'de> Deserialize<'de> for PlatformSpecificScrollParams
impl<'de> Deserialize<'de> for PlatformSpecificScrollParams
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Interpolatable for PlatformSpecificScrollParams
impl Interpolatable for PlatformSpecificScrollParams
fn interpolate(&self, _other: &Self, _t: f64) -> Self
impl ImplToFromPaxAny for PlatformSpecificScrollParams
Auto Trait Implementations§
impl Freeze for PlatformSpecificScrollParams
impl RefUnwindSafe for PlatformSpecificScrollParams
impl Send for PlatformSpecificScrollParams
impl Sync for PlatformSpecificScrollParams
impl Unpin for PlatformSpecificScrollParams
impl UnwindSafe for PlatformSpecificScrollParams
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
source§impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
impl<T> CoercionRules for Twhere
T: ImplToFromPaxAny,
source§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
source§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.