#[repr(transparent)]pub struct AVSampleBufferRequestDirection(pub NSInteger);AVSampleBufferGenerator only.Expand description
Indicates the direction in which the samples should be generated for the AVSampleBufferRequest.
Indicates only one sample will be loaded at [AVSampleBufferRequest startCursor], and the [AVSampleBufferRequest limitCursor], [AVSampleBufferRequest preferredMinSampleCount], and [AVSampleBufferRequest maxSampleCount] will be ignored.
Indicates zero or more following samples may be loaded from [AVSampleBufferRequest startCursor], subject to [AVSampleBufferRequest limitCursor], [AVSampleBufferRequest preferredMinSampleCount], and [AVSampleBufferRequest maxSampleCount]
Indicates zero or more preceeding samples may be loaded from [AVSampleBufferRequest startCursor], subject to [AVSampleBufferRequest limitCursor], [AVSampleBufferRequest preferredMinSampleCount], and [AVSampleBufferRequest maxSampleCount]
See also Apple’s documentation
Tuple Fields§
§0: NSIntegerImplementations§
Trait Implementations§
Source§impl Clone for AVSampleBufferRequestDirection
impl Clone for AVSampleBufferRequestDirection
Source§fn clone(&self) -> AVSampleBufferRequestDirection
fn clone(&self) -> AVSampleBufferRequestDirection
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Ord for AVSampleBufferRequestDirection
impl Ord for AVSampleBufferRequestDirection
Source§fn cmp(&self, other: &AVSampleBufferRequestDirection) -> Ordering
fn cmp(&self, other: &AVSampleBufferRequestDirection) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for AVSampleBufferRequestDirection
impl PartialEq for AVSampleBufferRequestDirection
Source§fn eq(&self, other: &AVSampleBufferRequestDirection) -> bool
fn eq(&self, other: &AVSampleBufferRequestDirection) -> bool
self and other values to be equal, and is used by ==.