pub struct AudioProviderHost<'a> { /* private fields */ }Expand description
Host that loads audio providers through the kernel loader and registers sites.
Implementations§
Source§impl<'a> AudioProviderHost<'a>
impl<'a> AudioProviderHost<'a>
Sourcepub fn new(cx: &'a mut Cx, loaders: &'a LoaderRegistry) -> Self
pub fn new(cx: &'a mut Cx, loaders: &'a LoaderRegistry) -> Self
Builds a provider host over a context and loader registry.
Sourcepub fn with_entry(self, provider: Symbol, entry: AudioProviderEntry) -> Self
pub fn with_entry(self, provider: Symbol, entry: AudioProviderEntry) -> Self
Adds a provider entry, builder-style.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for AudioProviderHost<'a>
impl<'a> !UnwindSafe for AudioProviderHost<'a>
impl<'a> Freeze for AudioProviderHost<'a>
impl<'a> Send for AudioProviderHost<'a>
impl<'a> Sync for AudioProviderHost<'a>
impl<'a> Unpin for AudioProviderHost<'a>
impl<'a> UnsafeUnpin for AudioProviderHost<'a>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more