pub enum Object {
PlugIn,
Device,
Stream(StreamDirection),
}Expand description
What an AudioObjectId resolves to within an ObjectMap.
Variants§
PlugIn
The plug-in object itself (AudioObjectId::PLUGIN).
Device
The driver’s device.
Stream(StreamDirection)
One of the device’s streams.
Implementations§
Source§impl Object
impl Object
Sourcepub const fn kind(self) -> ObjectKind
pub const fn kind(self) -> ObjectKind
The ObjectKind — and therefore the kAudio*ClassID — of
this object.
Trait Implementations§
impl Copy for Object
impl Eq for Object
impl StructuralPartialEq for Object
Auto Trait Implementations§
impl Freeze for Object
impl RefUnwindSafe for Object
impl Send for Object
impl Sync for Object
impl Unpin for Object
impl UnsafeUnpin for Object
impl UnwindSafe for Object
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