[][src]Trait timbre::IntoShared

pub trait IntoShared {
    fn into_shared(self) -> SharedAudioSource;
}

Helpful extension to move AudioSource implementations into an Arc<Mutex<...>>.

Required methods

fn into_shared(self) -> SharedAudioSource

Move this audio source into an Arc<Mutex<...>> so that it can be shared between threads.

Loading content...

Implementors

impl<T: AudioSource + Send + 'static> IntoShared for T[src]

Loading content...