#[repr(C)]pub struct AudioFileTypeAndFormatID {
pub mFileType: AudioFileTypeID,
pub mFormatID: u32,
}
Available on crate feature
AudioFile
only.Expand description
This is used as a specifier for kAudioFileGlobalInfo_AvailableStreamDescriptions
This struct is used to specify a desired audio file type and data format ID so that a list of stream descriptions of available formats can be obtained.
a four char code for the file type such as kAudioFileAIFFType, kAudioFileCAFType, etc.
a four char code for the format ID such as kAudioFormatLinearPCM, kAudioFormatMPEG4AAC, etc.
See also Apple’s documentation
Fields§
§mFileType: AudioFileTypeID
§mFormatID: u32
Trait Implementations§
Source§impl Clone for AudioFileTypeAndFormatID
impl Clone for AudioFileTypeAndFormatID
Source§fn clone(&self) -> AudioFileTypeAndFormatID
fn clone(&self) -> AudioFileTypeAndFormatID
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 Debug for AudioFileTypeAndFormatID
impl Debug for AudioFileTypeAndFormatID
Source§impl Encode for AudioFileTypeAndFormatID
impl Encode for AudioFileTypeAndFormatID
Source§impl PartialEq for AudioFileTypeAndFormatID
impl PartialEq for AudioFileTypeAndFormatID
Source§impl RefEncode for AudioFileTypeAndFormatID
impl RefEncode for AudioFileTypeAndFormatID
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 AudioFileTypeAndFormatID
impl StructuralPartialEq for AudioFileTypeAndFormatID
Auto Trait Implementations§
impl Freeze for AudioFileTypeAndFormatID
impl RefUnwindSafe for AudioFileTypeAndFormatID
impl Send for AudioFileTypeAndFormatID
impl Sync for AudioFileTypeAndFormatID
impl Unpin for AudioFileTypeAndFormatID
impl UnwindSafe for AudioFileTypeAndFormatID
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.