[][src]Struct fon::Resampler

pub struct Resampler<F: Frame> { /* fields omitted */ }

Context for an audio resampler.

Implementations

impl<F: Frame> Resampler<F>[src]

pub fn new(frame: F, index: f64) -> Self[src]

Create a new resampler context.

pub fn frame(&self) -> F[src]

Get the left over partial frame.

pub fn index(&self) -> f64[src]

Get the left over partial index.

Trait Implementations

impl<F: Clone + Frame> Clone for Resampler<F>[src]

impl<F: Copy + Frame> Copy for Resampler<F>[src]

impl<F: Debug + Frame> Debug for Resampler<F>[src]

impl<F: Default + Frame> Default for Resampler<F>[src]

Auto Trait Implementations

impl<F> RefUnwindSafe for Resampler<F> where
    F: RefUnwindSafe
[src]

impl<F> Send for Resampler<F> where
    F: Send
[src]

impl<F> Sync for Resampler<F> where
    F: Sync
[src]

impl<F> Unpin for Resampler<F>[src]

impl<F> UnwindSafe for Resampler<F> where
    F: UnwindSafe
[src]

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.