pub struct VideoChromaSubsamplingFlagBitsKHR(/* private fields */);Expand description
Implementations§
Source§impl VideoChromaSubsamplingFlagBitsKHR
impl VideoChromaSubsamplingFlagBitsKHR
pub const INVALID: Self
Sourcepub const MONOCHROME: Self
pub const MONOCHROME: Self
Bit 0.
pub const fn empty() -> Self
pub const fn from_raw(value: u32) -> Self
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn contains(self, other: Self) -> bool
pub const fn all() -> Self
Trait Implementations§
Source§impl BitAndAssign for VideoChromaSubsamplingFlagBitsKHR
impl BitAndAssign for VideoChromaSubsamplingFlagBitsKHR
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for VideoChromaSubsamplingFlagBitsKHR
impl BitOrAssign for VideoChromaSubsamplingFlagBitsKHR
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for VideoChromaSubsamplingFlagBitsKHR
impl BitXorAssign for VideoChromaSubsamplingFlagBitsKHR
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
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 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