Struct synfx_dsp_jit::DSPState
source · [−]pub struct DSPState {
pub x: f64,
pub y: f64,
pub srate: f64,
pub israte: f64,
pub atoms: Vec<Arc<AtomicFloat>>,
pub buffers: LockedMutPtrs<Vec<f64>, f64>,
pub tables: LockedPtrs<Arc<Vec<f32>>, f32>,
}
Expand description
The global DSP state that all stateful DSPNodeType DSP nodes share.
Fields
x: f64
y: f64
srate: f64
israte: f64
atoms: Vec<Arc<AtomicFloat>>
buffers: LockedMutPtrs<Vec<f64>, f64>
tables: LockedPtrs<Arc<Vec<f32>>, f32>
Auto Trait Implementations
impl RefUnwindSafe for DSPState
impl !Send for DSPState
impl !Sync for DSPState
impl Unpin for DSPState
impl UnwindSafe for DSPState
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more