pub struct ScratchConfig {
pub max_playback_rate: f64,
pub deadzone_rate: f64,
pub lock_center_rate: f64,
pub lock_width: f64,
pub lock_strength: f64,
pub pointer_filter_seconds: f64,
}Fields§
§max_playback_rate: f64§deadzone_rate: f64§lock_center_rate: f64§lock_width: f64§lock_strength: f64§pointer_filter_seconds: f64Trait Implementations§
Source§impl Clone for ScratchConfig
impl Clone for ScratchConfig
Source§fn clone(&self) -> ScratchConfig
fn clone(&self) -> ScratchConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ScratchConfig
Source§impl Debug for ScratchConfig
impl Debug for ScratchConfig
Source§impl<'de> Deserialize<'de> for ScratchConfig
impl<'de> Deserialize<'de> for ScratchConfig
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
Auto Trait Implementations§
impl Freeze for ScratchConfig
impl RefUnwindSafe for ScratchConfig
impl Send for ScratchConfig
impl Sync for ScratchConfig
impl Unpin for ScratchConfig
impl UnsafeUnpin for ScratchConfig
impl UnwindSafe for ScratchConfig
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