#[repr(C)]pub struct AVSampleCursorChunkInfo {
pub chunkSampleCount: i64,
pub chunkHasUniformSampleSizes: Bool,
pub chunkHasUniformSampleDurations: Bool,
pub chunkHasUniformFormatDescriptions: Bool,
}Available on crate feature
AVSampleCursor only.Expand description
Provides information about a chunk of media samples. Field: chunkSampleCount The count of media samples in the chunk. Field: chunkHasUniformSampleSizes YES if all of the samples in the chunk occupy the same number of bytes in storage. Field: currentChunkHasUniformSampleDurations YES if all of the samples in the chunk have the same duration. Field: currentChunkHasUniformFormatDescriptions YES if all of the samples in the chunk have the same format description.
See also Apple’s documentation
Fields§
§chunkSampleCount: i64§chunkHasUniformSampleSizes: Bool§chunkHasUniformSampleDurations: Bool§chunkHasUniformFormatDescriptions: BoolTrait Implementations§
Source§impl Clone for AVSampleCursorChunkInfo
impl Clone for AVSampleCursorChunkInfo
Source§fn clone(&self) -> AVSampleCursorChunkInfo
fn clone(&self) -> AVSampleCursorChunkInfo
Returns a copy 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 AVSampleCursorChunkInfo
impl Debug for AVSampleCursorChunkInfo
Source§impl Encode for AVSampleCursorChunkInfo
impl Encode for AVSampleCursorChunkInfo
Source§impl PartialEq for AVSampleCursorChunkInfo
impl PartialEq for AVSampleCursorChunkInfo
Source§impl RefEncode for AVSampleCursorChunkInfo
impl RefEncode for AVSampleCursorChunkInfo
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 AVSampleCursorChunkInfo
impl StructuralPartialEq for AVSampleCursorChunkInfo
Auto Trait Implementations§
impl Freeze for AVSampleCursorChunkInfo
impl RefUnwindSafe for AVSampleCursorChunkInfo
impl Send for AVSampleCursorChunkInfo
impl Sync for AVSampleCursorChunkInfo
impl Unpin for AVSampleCursorChunkInfo
impl UnwindSafe for AVSampleCursorChunkInfo
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.