#[repr(C)]pub struct AudioFileRegionList {
pub mSMPTE_TimeType: u32,
pub mNumberRegions: u32,
pub mRegions: [AudioFileRegion; 1],
}
Available on crate features
AudioFile
and objc2-core-foundation
only.Expand description
A list of the AudioFileRegions in a file.
This is the struct used by the kAudioFilePropertyRegionList property.
This defines the SMPTE timing scheme used in the file. See CAFFile.h for the values used here.
The number of regions in the mRegions list.
A list of AudioFileRegions. Note that AudioFileMarkers are variable length, so this list cannot be accessed as an array. Use the NextAudioFileRegion macro for traversing the list instead.
See also Apple’s documentation
Fields§
§mSMPTE_TimeType: u32
§mNumberRegions: u32
§mRegions: [AudioFileRegion; 1]
Trait Implementations§
Source§impl Clone for AudioFileRegionList
impl Clone for AudioFileRegionList
Source§fn clone(&self) -> AudioFileRegionList
fn clone(&self) -> AudioFileRegionList
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 AudioFileRegionList
impl Debug for AudioFileRegionList
Source§impl Encode for AudioFileRegionList
impl Encode for AudioFileRegionList
Source§impl PartialEq for AudioFileRegionList
impl PartialEq for AudioFileRegionList
Source§impl RefEncode for AudioFileRegionList
impl RefEncode for AudioFileRegionList
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 AudioFileRegionList
impl StructuralPartialEq for AudioFileRegionList
Auto Trait Implementations§
impl Freeze for AudioFileRegionList
impl !RefUnwindSafe for AudioFileRegionList
impl !Send for AudioFileRegionList
impl !Sync for AudioFileRegionList
impl Unpin for AudioFileRegionList
impl !UnwindSafe for AudioFileRegionList
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.