Skip to main content

Sample

Trait Sample 

Source
pub trait Sample:
    Float
    + Default
    + Add
    + AddAssign { }
Expand description

A floating-point sample type that can be used for audio processing

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.

Implementors§

Source§

impl<T> Sample for T
where T: Float + Default + Add + AddAssign,