#[repr(C)]pub struct AVSampleCursorStorageRange {
pub offset: i64,
pub length: i64,
}Available on crate feature
AVSampleCursor only.Expand description
A struct for indicating the offset and length of storage occupied by a media sample or its chunk. Field: offset The offset of the first byte of storage occupied by a media sample or its chunk. Field: length The count of bytes of storage occupied by a media sample or its chunk.
Like NSRange, but rangier.
See also Apple’s documentation
Fields§
§offset: i64§length: i64Trait Implementations§
Source§impl Clone for AVSampleCursorStorageRange
impl Clone for AVSampleCursorStorageRange
Source§fn clone(&self) -> AVSampleCursorStorageRange
fn clone(&self) -> AVSampleCursorStorageRange
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 AVSampleCursorStorageRange
impl Debug for AVSampleCursorStorageRange
Source§impl Encode for AVSampleCursorStorageRange
impl Encode for AVSampleCursorStorageRange
Source§impl RefEncode for AVSampleCursorStorageRange
impl RefEncode for AVSampleCursorStorageRange
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 AVSampleCursorStorageRange
impl StructuralPartialEq for AVSampleCursorStorageRange
Auto Trait Implementations§
impl Freeze for AVSampleCursorStorageRange
impl RefUnwindSafe for AVSampleCursorStorageRange
impl Send for AVSampleCursorStorageRange
impl Sync for AVSampleCursorStorageRange
impl Unpin for AVSampleCursorStorageRange
impl UnwindSafe for AVSampleCursorStorageRange
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.