pub struct VideoChromaSubsamplingFlagBitsKHR(/* private fields */);Expand description
Implementations§
Source§impl VideoChromaSubsamplingFlagBitsKHR
impl VideoChromaSubsamplingFlagBitsKHR
pub const INVALID: VideoChromaSubsamplingFlagBitsKHR
Sourcepub const MONOCHROME: VideoChromaSubsamplingFlagBitsKHR
pub const MONOCHROME: VideoChromaSubsamplingFlagBitsKHR
Bit 0.
Sourcepub const _420: VideoChromaSubsamplingFlagBitsKHR
pub const _420: VideoChromaSubsamplingFlagBitsKHR
Bit 1.
Sourcepub const _422: VideoChromaSubsamplingFlagBitsKHR
pub const _422: VideoChromaSubsamplingFlagBitsKHR
Bit 2.
Sourcepub const _444: VideoChromaSubsamplingFlagBitsKHR
pub const _444: VideoChromaSubsamplingFlagBitsKHR
Bit 3.
pub const fn empty() -> VideoChromaSubsamplingFlagBitsKHR
pub const fn from_raw(value: u32) -> VideoChromaSubsamplingFlagBitsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: VideoChromaSubsamplingFlagBitsKHR) -> bool
pub const fn all() -> VideoChromaSubsamplingFlagBitsKHR
Trait Implementations§
Source§impl BitAnd for VideoChromaSubsamplingFlagBitsKHR
impl BitAnd for VideoChromaSubsamplingFlagBitsKHR
Source§type Output = VideoChromaSubsamplingFlagBitsKHR
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the
& operator.Source§fn bitand(
self,
rhs: VideoChromaSubsamplingFlagBitsKHR,
) -> VideoChromaSubsamplingFlagBitsKHR
fn bitand( self, rhs: VideoChromaSubsamplingFlagBitsKHR, ) -> VideoChromaSubsamplingFlagBitsKHR
Performs the
& operation. Read moreSource§impl BitAndAssign for VideoChromaSubsamplingFlagBitsKHR
impl BitAndAssign for VideoChromaSubsamplingFlagBitsKHR
Source§fn bitand_assign(&mut self, rhs: VideoChromaSubsamplingFlagBitsKHR)
fn bitand_assign(&mut self, rhs: VideoChromaSubsamplingFlagBitsKHR)
Performs the
&= operation. Read moreSource§impl BitOr for VideoChromaSubsamplingFlagBitsKHR
impl BitOr for VideoChromaSubsamplingFlagBitsKHR
Source§type Output = VideoChromaSubsamplingFlagBitsKHR
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the
| operator.Source§fn bitor(
self,
rhs: VideoChromaSubsamplingFlagBitsKHR,
) -> VideoChromaSubsamplingFlagBitsKHR
fn bitor( self, rhs: VideoChromaSubsamplingFlagBitsKHR, ) -> VideoChromaSubsamplingFlagBitsKHR
Performs the
| operation. Read moreSource§impl BitOrAssign for VideoChromaSubsamplingFlagBitsKHR
impl BitOrAssign for VideoChromaSubsamplingFlagBitsKHR
Source§fn bitor_assign(&mut self, rhs: VideoChromaSubsamplingFlagBitsKHR)
fn bitor_assign(&mut self, rhs: VideoChromaSubsamplingFlagBitsKHR)
Performs the
|= operation. Read moreSource§impl BitXor for VideoChromaSubsamplingFlagBitsKHR
impl BitXor for VideoChromaSubsamplingFlagBitsKHR
Source§type Output = VideoChromaSubsamplingFlagBitsKHR
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the
^ operator.Source§fn bitxor(
self,
rhs: VideoChromaSubsamplingFlagBitsKHR,
) -> VideoChromaSubsamplingFlagBitsKHR
fn bitxor( self, rhs: VideoChromaSubsamplingFlagBitsKHR, ) -> VideoChromaSubsamplingFlagBitsKHR
Performs the
^ operation. Read moreSource§impl BitXorAssign for VideoChromaSubsamplingFlagBitsKHR
impl BitXorAssign for VideoChromaSubsamplingFlagBitsKHR
Source§fn bitxor_assign(&mut self, rhs: VideoChromaSubsamplingFlagBitsKHR)
fn bitxor_assign(&mut self, rhs: VideoChromaSubsamplingFlagBitsKHR)
Performs the
^= operation. Read moreSource§impl Clone for VideoChromaSubsamplingFlagBitsKHR
impl Clone for VideoChromaSubsamplingFlagBitsKHR
Source§fn clone(&self) -> VideoChromaSubsamplingFlagBitsKHR
fn clone(&self) -> VideoChromaSubsamplingFlagBitsKHR
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 Default for VideoChromaSubsamplingFlagBitsKHR
impl Default for VideoChromaSubsamplingFlagBitsKHR
Source§fn default() -> VideoChromaSubsamplingFlagBitsKHR
fn default() -> VideoChromaSubsamplingFlagBitsKHR
Returns the “default value” for a type. Read more
Source§impl Not for VideoChromaSubsamplingFlagBitsKHR
impl Not for VideoChromaSubsamplingFlagBitsKHR
Source§type Output = VideoChromaSubsamplingFlagBitsKHR
type Output = VideoChromaSubsamplingFlagBitsKHR
The resulting type after applying the
! operator.Source§fn not(self) -> VideoChromaSubsamplingFlagBitsKHR
fn not(self) -> VideoChromaSubsamplingFlagBitsKHR
Performs the unary
! operation. Read moreSource§impl Ord for VideoChromaSubsamplingFlagBitsKHR
impl Ord for VideoChromaSubsamplingFlagBitsKHR
Source§fn cmp(&self, other: &VideoChromaSubsamplingFlagBitsKHR) -> Ordering
fn cmp(&self, other: &VideoChromaSubsamplingFlagBitsKHR) -> Ordering
1.21.0 · 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 PartialEq for VideoChromaSubsamplingFlagBitsKHR
impl PartialEq for VideoChromaSubsamplingFlagBitsKHR
Source§fn eq(&self, other: &VideoChromaSubsamplingFlagBitsKHR) -> bool
fn eq(&self, other: &VideoChromaSubsamplingFlagBitsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VideoChromaSubsamplingFlagBitsKHR
impl PartialOrd for VideoChromaSubsamplingFlagBitsKHR
impl Copy for VideoChromaSubsamplingFlagBitsKHR
impl Eq for VideoChromaSubsamplingFlagBitsKHR
impl StructuralPartialEq for VideoChromaSubsamplingFlagBitsKHR
Auto Trait Implementations§
impl Freeze for VideoChromaSubsamplingFlagBitsKHR
impl RefUnwindSafe for VideoChromaSubsamplingFlagBitsKHR
impl Send for VideoChromaSubsamplingFlagBitsKHR
impl Sync for VideoChromaSubsamplingFlagBitsKHR
impl Unpin for VideoChromaSubsamplingFlagBitsKHR
impl UnsafeUnpin for VideoChromaSubsamplingFlagBitsKHR
impl UnwindSafe for VideoChromaSubsamplingFlagBitsKHR
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