#[repr(transparent)]pub struct VideoChromaSubsamplingFlagsKHR(_);Expand description
Implementations
sourceimpl VideoChromaSubsamplingFlagsKHR
impl VideoChromaSubsamplingFlagsKHR
pub const fn empty() -> VideoChromaSubsamplingFlagsKHR
pub const fn from_raw(x: u32) -> VideoChromaSubsamplingFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: VideoChromaSubsamplingFlagsKHR) -> bool
sourcepub const fn contains(self, other: VideoChromaSubsamplingFlagsKHR) -> bool
pub const fn contains(self, other: VideoChromaSubsamplingFlagsKHR) -> bool
Returns whether other is a subset of self
sourceimpl VideoChromaSubsamplingFlagsKHR
impl VideoChromaSubsamplingFlagsKHR
pub const INVALID: VideoChromaSubsamplingFlagsKHR = Self(0)
pub const MONOCHROME: VideoChromaSubsamplingFlagsKHR = Self(1)
pub const TYPE_420: VideoChromaSubsamplingFlagsKHR = Self(2)
pub const TYPE_422: VideoChromaSubsamplingFlagsKHR = Self(4)
pub const TYPE_444: VideoChromaSubsamplingFlagsKHR = Self(8)
Trait Implementations
sourceimpl BitAnd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitAnd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the & operator.
sourcefn bitand(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
fn bitand(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
Performs the & operation. Read more
sourceimpl BitAndAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitAndAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
sourcefn bitand_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
fn bitand_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
Performs the &= operation. Read more
sourceimpl BitOr<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitOr<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the | operator.
sourcefn bitor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
fn bitor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
Performs the | operation. Read more
sourceimpl BitOrAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitOrAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
sourcefn bitor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
fn bitor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
Performs the |= operation. Read more
sourceimpl BitXor<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitXor<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the ^ operator.
sourcefn bitxor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
fn bitxor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
Performs the ^ operation. Read more
sourceimpl BitXorAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitXorAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
fn bitxor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
Performs the ^= operation. Read more
sourceimpl Clone for VideoChromaSubsamplingFlagsKHR
impl Clone for VideoChromaSubsamplingFlagsKHR
sourcefn clone(&self) -> VideoChromaSubsamplingFlagsKHR
fn clone(&self) -> VideoChromaSubsamplingFlagsKHR
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Default for VideoChromaSubsamplingFlagsKHR
impl Default for VideoChromaSubsamplingFlagsKHR
sourcefn default() -> VideoChromaSubsamplingFlagsKHR
fn default() -> VideoChromaSubsamplingFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for VideoChromaSubsamplingFlagsKHR
impl Hash for VideoChromaSubsamplingFlagsKHR
sourceimpl Not for VideoChromaSubsamplingFlagsKHR
impl Not for VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the ! operator.
sourcefn not(self) -> VideoChromaSubsamplingFlagsKHR
fn not(self) -> VideoChromaSubsamplingFlagsKHR
Performs the unary ! operation. Read more
sourceimpl Ord for VideoChromaSubsamplingFlagsKHR
impl Ord for VideoChromaSubsamplingFlagsKHR
sourceimpl PartialEq<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl PartialEq<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
sourcefn eq(&self, other: &VideoChromaSubsamplingFlagsKHR) -> bool
fn eq(&self, other: &VideoChromaSubsamplingFlagsKHR) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &VideoChromaSubsamplingFlagsKHR) -> bool
fn ne(&self, other: &VideoChromaSubsamplingFlagsKHR) -> bool
This method tests for !=.
sourceimpl PartialOrd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl PartialOrd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
sourcefn partial_cmp(
&self,
other: &VideoChromaSubsamplingFlagsKHR
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &VideoChromaSubsamplingFlagsKHR
) -> Option<Ordering>
This method returns an ordering between self and other values if one exists. Read more
1.0.0 · sourcefn lt(&self, other: &Rhs) -> bool
fn lt(&self, other: &Rhs) -> bool
This method tests less than (for self and other) and is used by the < operator. Read more
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
impl Copy for VideoChromaSubsamplingFlagsKHR
impl Eq for VideoChromaSubsamplingFlagsKHR
impl StructuralEq for VideoChromaSubsamplingFlagsKHR
impl StructuralPartialEq for VideoChromaSubsamplingFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for VideoChromaSubsamplingFlagsKHR
impl Send for VideoChromaSubsamplingFlagsKHR
impl Sync for VideoChromaSubsamplingFlagsKHR
impl Unpin for VideoChromaSubsamplingFlagsKHR
impl UnwindSafe for VideoChromaSubsamplingFlagsKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more