Struct oddio::Cycle[][src]

pub struct Cycle<T> { /* fields omitted */ }

Loops Frames end-to-end to construct a repeating signal

Implementations

impl<T> Cycle<T>[src]

pub fn new(frames: Arc<Frames<T>>) -> Self[src]

Construct cycle from frames

Trait Implementations

impl<T: Frame + Copy> Signal for Cycle<T>[src]

type Frame = T

Type of frames yielded by sample, e.g. [Sample; 2] for stereo

Auto Trait Implementations

impl<T> !RefUnwindSafe for Cycle<T>[src]

impl<T> Send for Cycle<T> where
    T: Send + Sync
[src]

impl<T> !Sync for Cycle<T>[src]

impl<T> Unpin for Cycle<T>[src]

impl<T> UnwindSafe for Cycle<T> where
    T: RefUnwindSafe
[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, 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.