[][src]Enum libsoxr::datatype::Datatype

pub enum Datatype {
    Float32I,
    Float64I,
    Int32I,
    Int16I,
    Float32S,
    Float64S,
    Int32S,
    Int16S,
}

Datatypes supported for I/O to/from the resampler. Use the I data types for Interleaved channels and use the S data types for split channels. Wrapper for soxr_datatype_t.

Variants

Float32I
Float64I
Int32I
Int16I
Float32S
Float64S
Int32S
Int16S

Implementations

impl Datatype[src]

pub fn to_soxr_datatype(self) -> soxr_datatype_t[src]

helper function to convert from Datatype to soxr_datatype_t

Trait Implementations

impl Clone for Datatype[src]

impl Copy for Datatype[src]

impl Debug for Datatype[src]

impl Eq for Datatype[src]

impl Hash for Datatype[src]

impl Ord for Datatype[src]

impl PartialEq<Datatype> for Datatype[src]

impl PartialOrd<Datatype> for Datatype[src]

impl StructuralEq for Datatype[src]

impl StructuralPartialEq for Datatype[src]

Auto Trait Implementations

impl RefUnwindSafe for Datatype

impl Send for Datatype

impl Sync for Datatype

impl Unpin for Datatype

impl UnwindSafe for Datatype

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.