[][src]Struct rodio::queue::SourcesQueueInput

pub struct SourcesQueueInput<S> { /* fields omitted */ }

The input of the queue.

Implementations

impl<S> SourcesQueueInput<S> where
    S: Sample + Send + 'static, 
[src]

pub fn append<T>(&self, source: T) where
    T: Source<Item = S> + Send + 'static, 
[src]

Adds a new source to the end of the queue.

pub fn append_with_signal<T>(&self, source: T) -> Receiver<()> where
    T: Source<Item = S> + Send + 'static, 
[src]

Adds a new source to the end of the queue.

The Receiver will be signalled when the sound has finished playing.

pub fn set_keep_alive_if_empty(&self, keep_alive_if_empty: bool)[src]

Sets whether the queue stays alive if there's no more sound to play.

See also the constructor.

Auto Trait Implementations

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.