[][src]Struct libscroll::Config

pub struct Config {
    pub EVENT_EXPIRY_COUNT: usize,
    pub SAMPLE_EXPIRY_COUNT: usize,
    pub TICKS_TO_COAST: f64,
    pub TIMESTEP: f64,
    pub MIN_VELOCITY_TO_IDLE: f64,
    pub POST_ACCEL_SCALE_VELOCITY: f64,
    pub PRE_ACCEL_SCALE_VELOCITY: f64,
    pub SHIFT_WINDOW_MS: f64,
    pub OVERSCROLL_ELASTICITY_COEFFICIENT: f64,
    pub CONTENT_MASS_VALUE: f64,
    pub OVERSCROLL_SPRING_CONSTANT: f64,
    pub BOUNCE_DAMP_FACTOR: f64,
    pub MAX_MS_WITHOUT_ZERO_INJECTION: f64,
    pub MULTIPLY_FIRST_EVENT: f64,
    pub ACCEL_DECEL_DESCRIMINANT: f64,
    pub ACCELERATION_EXPONENT: f64,
    pub FLING_BOOST_CONSTANT_FACTOR: f64,
    pub FLIPS_TO_IDLE: u64,
}

Fields

EVENT_EXPIRY_COUNT: usizeSAMPLE_EXPIRY_COUNT: usizeTICKS_TO_COAST: f64TIMESTEP: f64MIN_VELOCITY_TO_IDLE: f64POST_ACCEL_SCALE_VELOCITY: f64PRE_ACCEL_SCALE_VELOCITY: f64SHIFT_WINDOW_MS: f64OVERSCROLL_ELASTICITY_COEFFICIENT: f64CONTENT_MASS_VALUE: f64OVERSCROLL_SPRING_CONSTANT: f64BOUNCE_DAMP_FACTOR: f64MAX_MS_WITHOUT_ZERO_INJECTION: f64MULTIPLY_FIRST_EVENT: f64ACCEL_DECEL_DESCRIMINANT: f64ACCELERATION_EXPONENT: f64FLING_BOOST_CONSTANT_FACTOR: f64FLIPS_TO_IDLE: u64

Trait Implementations

impl Default for Config[src]

Auto Trait Implementations

impl RefUnwindSafe for Config

impl Send for Config

impl Sync for Config

impl Unpin for Config

impl UnwindSafe for Config

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.