pub struct ScratchPerformanceInput {
pub delta_seconds: f64,
pub hand_contact: bool,
pub intent_record_rate: f64,
pub rendered_record_rate: f64,
pub rendered_source_travel_seconds: f64,
pub manual_crossfader_gain: f64,
}Expand description
Supplies one same-sample physical motion result to the scratch helper.
Both rates use nominal playback speed as one. rendered_record_rate must
come from the physical deck state for the audio frame being gated.
rendered_source_travel_seconds is the exact signed record-angle change
divided by nominal angular velocity.
Fields§
§delta_seconds: f64§hand_contact: bool§intent_record_rate: f64§rendered_record_rate: f64§rendered_source_travel_seconds: f64§manual_crossfader_gain: f64Trait Implementations§
Source§impl Clone for ScratchPerformanceInput
impl Clone for ScratchPerformanceInput
Source§fn clone(&self) -> ScratchPerformanceInput
fn clone(&self) -> ScratchPerformanceInput
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 ScratchPerformanceInput
Source§impl Debug for ScratchPerformanceInput
impl Debug for ScratchPerformanceInput
Source§impl<'de> Deserialize<'de> for ScratchPerformanceInput
impl<'de> Deserialize<'de> for ScratchPerformanceInput
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 PartialEq for ScratchPerformanceInput
impl PartialEq for ScratchPerformanceInput
Source§impl Serialize for ScratchPerformanceInput
impl Serialize for ScratchPerformanceInput
impl StructuralPartialEq for ScratchPerformanceInput
Auto Trait Implementations§
impl Freeze for ScratchPerformanceInput
impl RefUnwindSafe for ScratchPerformanceInput
impl Send for ScratchPerformanceInput
impl Sync for ScratchPerformanceInput
impl Unpin for ScratchPerformanceInput
impl UnsafeUnpin for ScratchPerformanceInput
impl UnwindSafe for ScratchPerformanceInput
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