#[repr(C)]pub enum StdVideoAV1ChromaSamplePosition {
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_UNKNOWN = 0,
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_VERTICAL = 1,
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_COLOCATED = 2,
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_RESERVED = 3,
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_INVALID = 2_147_483_647,
}Expand description
enum StdVideoAV1ChromaSamplePosition from vulkan_video_codec_av1std
Variants§
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_UNKNOWN = 0
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_VERTICAL = 1
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_COLOCATED = 2
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_RESERVED = 3
STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_INVALID = 2_147_483_647
Implementations§
Source§impl StdVideoAV1ChromaSamplePosition
impl StdVideoAV1ChromaSamplePosition
pub const STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_MAX_ENUM: StdVideoAV1ChromaSamplePosition = StdVideoAV1ChromaSamplePosition::STD_VIDEO_AV1_CHROMA_SAMPLE_POSITION_INVALID
Trait Implementations§
Source§impl Clone for StdVideoAV1ChromaSamplePosition
impl Clone for StdVideoAV1ChromaSamplePosition
Source§fn clone(&self) -> StdVideoAV1ChromaSamplePosition
fn clone(&self) -> StdVideoAV1ChromaSamplePosition
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for StdVideoAV1ChromaSamplePosition
impl Eq for StdVideoAV1ChromaSamplePosition
Source§impl Ord for StdVideoAV1ChromaSamplePosition
impl Ord for StdVideoAV1ChromaSamplePosition
Source§fn cmp(&self, other: &StdVideoAV1ChromaSamplePosition) -> Ordering
fn cmp(&self, other: &StdVideoAV1ChromaSamplePosition) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for StdVideoAV1ChromaSamplePosition
impl PartialOrd for StdVideoAV1ChromaSamplePosition
impl StructuralPartialEq for StdVideoAV1ChromaSamplePosition
Auto Trait Implementations§
impl Freeze for StdVideoAV1ChromaSamplePosition
impl RefUnwindSafe for StdVideoAV1ChromaSamplePosition
impl Send for StdVideoAV1ChromaSamplePosition
impl Sync for StdVideoAV1ChromaSamplePosition
impl Unpin for StdVideoAV1ChromaSamplePosition
impl UnsafeUnpin for StdVideoAV1ChromaSamplePosition
impl UnwindSafe for StdVideoAV1ChromaSamplePosition
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