Struct scroll_controller::ScrollSettings
[−]
[src]
pub struct ScrollSettings { /* fields omitted */ }
Stores scroll settings.
Methods
impl ScrollSettings
[src]
fn new() -> ScrollSettings
[src]
Creates a new ScrollSettings
object.
fn speed(self, val: f64) -> ScrollSettings
[src]
Sets scroll speed.
Trait Implementations
impl Clone for ScrollSettings
[src]
fn clone(&self) -> ScrollSettings
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more