pub struct AudioProviderEntries { /* private fields */ }Expand description
FFI-free table of provider entry points keyed by provider library id.
Implementations§
Source§impl AudioProviderEntries
impl AudioProviderEntries
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.
Sourcepub fn insert(&mut self, provider: Symbol, entry: AudioProviderEntry)
pub fn insert(&mut self, provider: Symbol, entry: AudioProviderEntry)
Adds or replaces a provider entry.
Trait Implementations§
Source§impl Clone for AudioProviderEntries
impl Clone for AudioProviderEntries
Source§fn clone(&self) -> AudioProviderEntries
fn clone(&self) -> AudioProviderEntries
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for AudioProviderEntries
impl Default for AudioProviderEntries
Source§fn default() -> AudioProviderEntries
fn default() -> AudioProviderEntries
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for AudioProviderEntries
impl RefUnwindSafe for AudioProviderEntries
impl Send for AudioProviderEntries
impl Sync for AudioProviderEntries
impl Unpin for AudioProviderEntries
impl UnsafeUnpin for AudioProviderEntries
impl UnwindSafe for AudioProviderEntries
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