[−][src]Struct rodio::queue::SourcesQueueInput
The input of the queue.
Methods
impl<S> SourcesQueueInput<S> where
S: Sample + Send + 'static,
[src]
S: Sample + Send + 'static,
pub fn append<T>(&self, source: T) where
T: Source<Item = S> + Send + 'static,
[src]
T: Source<Item = S> + Send + 'static,
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]
T: Source<Item = S> + Send + 'static,
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
impl<S> Unpin for SourcesQueueInput<S>
impl<S> Sync for SourcesQueueInput<S>
impl<S> Send for SourcesQueueInput<S>
impl<S> UnwindSafe for SourcesQueueInput<S>
impl<S> RefUnwindSafe for SourcesQueueInput<S>
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
[src]
type Output = T
Should always be Self
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
SS: SubsetOf<SP>,