pub trait SignedSample: Sample<Signed = Self> + Add<Output = Self> + Sub<Output = Self> + Neg<Output = Self> { }
Expand description

Integral and floating-point Sample format types whose equilibrium is at 0.

Samples often need to be converted to some mutual SignedSample type for signal addition.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl SignedSample for f32

source§

impl SignedSample for f64

source§

impl SignedSample for i8

source§

impl SignedSample for i16

source§

impl SignedSample for i32

source§

impl SignedSample for i64

Implementors§