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