#[repr(C)]pub struct AudioFileRegion {
pub mRegionID: u32,
pub mName: NonNull<CFString>,
pub mFlags: AudioFileRegionFlags,
pub mNumberMarkers: u32,
pub mMarkers: [AudioFileMarker; 1],
}
Available on crate features
AudioFile
and objc2-core-foundation
only.Expand description
An AudioFileRegion specifies a segment of audio data.
Generally a region consists of at least two markers marking the beginning and end of the segment. There may also be other markers defining other meta information such as sync point.
each region must have a unique ID.
The name of the region.
AudioFileRegionFlags.
The number of markers in the mMarkers array.
A variable length array of AudioFileMarkers.
See also Apple’s documentation
Fields§
§mRegionID: u32
§mName: NonNull<CFString>
§mFlags: AudioFileRegionFlags
§mNumberMarkers: u32
§mMarkers: [AudioFileMarker; 1]
Trait Implementations§
Source§impl Clone for AudioFileRegion
impl Clone for AudioFileRegion
Source§fn clone(&self) -> AudioFileRegion
fn clone(&self) -> AudioFileRegion
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 AudioFileRegion
impl Debug for AudioFileRegion
Source§impl Encode for AudioFileRegion
impl Encode for AudioFileRegion
Source§impl PartialEq for AudioFileRegion
impl PartialEq for AudioFileRegion
Source§impl RefEncode for AudioFileRegion
impl RefEncode for AudioFileRegion
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 AudioFileRegion
impl StructuralPartialEq for AudioFileRegion
Auto Trait Implementations§
impl Freeze for AudioFileRegion
impl !RefUnwindSafe for AudioFileRegion
impl !Send for AudioFileRegion
impl !Sync for AudioFileRegion
impl Unpin for AudioFileRegion
impl !UnwindSafe for AudioFileRegion
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.