pub trait Sample:
Float
+ Default
+ Send
+ Sync
+ 'static { }Expand description
Audio-sample subtype of Float. Adds the
Default + Send + Sync + 'static marker bounds that buffer code,
scratch allocators, and the param-read extension trait need.
Bound at f32 and f64. Plugin authors usually don’t name this
directly; the prelude resolves the bound for them.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.