pub enum AudioPluginCapability {
WasmPlugin,
NativePlugin,
}Expand description
Privileged audio plugin operations exposed by host adapters.
Variants§
Implementations§
Source§impl AudioPluginCapability
impl AudioPluginCapability
Sourcepub fn as_capability_name(self) -> CapabilityName
pub fn as_capability_name(self) -> CapabilityName
Returns the stable kernel capability name for this plugin operation.
Trait Implementations§
Source§impl Clone for AudioPluginCapability
impl Clone for AudioPluginCapability
Source§fn clone(&self) -> AudioPluginCapability
fn clone(&self) -> AudioPluginCapability
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 moreimpl Copy for AudioPluginCapability
Source§impl Debug for AudioPluginCapability
impl Debug for AudioPluginCapability
impl Eq for AudioPluginCapability
Source§impl Hash for AudioPluginCapability
impl Hash for AudioPluginCapability
Source§impl Ord for AudioPluginCapability
impl Ord for AudioPluginCapability
Source§fn cmp(&self, other: &AudioPluginCapability) -> Ordering
fn cmp(&self, other: &AudioPluginCapability) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for AudioPluginCapability
impl PartialEq for AudioPluginCapability
Source§fn eq(&self, other: &AudioPluginCapability) -> bool
fn eq(&self, other: &AudioPluginCapability) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for AudioPluginCapability
impl PartialOrd for AudioPluginCapability
impl StructuralPartialEq for AudioPluginCapability
Auto Trait Implementations§
impl Freeze for AudioPluginCapability
impl RefUnwindSafe for AudioPluginCapability
impl Send for AudioPluginCapability
impl Sync for AudioPluginCapability
impl Unpin for AudioPluginCapability
impl UnsafeUnpin for AudioPluginCapability
impl UnwindSafe for AudioPluginCapability
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