#[repr(C)]pub struct AudioHardwareIOProcStreamUsage {
pub mIOProc: NonNull<c_void>,
pub mNumberStreams: u32,
pub mStreamIsOn: [u32; 1],
}Available on crate feature
AudioHardware only.Expand description
This structure describes which streams a given AudioDeviceIOProc will use. It is used in conjunction with kAudioDevicePropertyIOProcStreamUsage. Field: mIOProc The IOProc whose stream usage is being specified. Field: mNumberStreams The number of streams being specified. Field: mStreamIsOn An array of UInt32’s whose length is specified by mNumberStreams. Each element of the array corresponds to a stream. A value of 0 means the stream is not to be enabled. Any other value means the stream is to be used.
See also Apple’s documentation
Fields§
§mIOProc: NonNull<c_void>§mNumberStreams: u32§mStreamIsOn: [u32; 1]Trait Implementations§
Source§impl Clone for AudioHardwareIOProcStreamUsage
impl Clone for AudioHardwareIOProcStreamUsage
Source§fn clone(&self) -> AudioHardwareIOProcStreamUsage
fn clone(&self) -> AudioHardwareIOProcStreamUsage
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Encode for AudioHardwareIOProcStreamUsage
Available on crate feature objc2 only.
impl Encode for AudioHardwareIOProcStreamUsage
Available on crate feature
objc2 only.Source§impl PartialEq for AudioHardwareIOProcStreamUsage
impl PartialEq for AudioHardwareIOProcStreamUsage
Source§fn eq(&self, other: &AudioHardwareIOProcStreamUsage) -> bool
fn eq(&self, other: &AudioHardwareIOProcStreamUsage) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl RefEncode for AudioHardwareIOProcStreamUsage
Available on crate feature objc2 only.
impl RefEncode for AudioHardwareIOProcStreamUsage
Available on crate feature
objc2 only.Source§const ENCODING_REF: Encoding
const ENCODING_REF: Encoding
The Objective-C type-encoding for a reference of this type. Read more
impl Copy for AudioHardwareIOProcStreamUsage
impl StructuralPartialEq for AudioHardwareIOProcStreamUsage
Auto Trait Implementations§
impl Freeze for AudioHardwareIOProcStreamUsage
impl RefUnwindSafe for AudioHardwareIOProcStreamUsage
impl !Send for AudioHardwareIOProcStreamUsage
impl !Sync for AudioHardwareIOProcStreamUsage
impl Unpin for AudioHardwareIOProcStreamUsage
impl UnwindSafe for AudioHardwareIOProcStreamUsage
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> EncodeArgument for Twhere
T: Encode,
impl<T> EncodeArgument for Twhere
T: Encode,
Source§const ENCODING_ARGUMENT: Encoding = T::ENCODING
const ENCODING_ARGUMENT: Encoding = T::ENCODING
The Objective-C type-encoding for this type.
Source§impl<T> EncodeReturn for Twhere
T: Encode,
impl<T> EncodeReturn for Twhere
T: Encode,
Source§const ENCODING_RETURN: Encoding = T::ENCODING
const ENCODING_RETURN: Encoding = T::ENCODING
The Objective-C type-encoding for this type.