Struct screen_13::prelude::vk::VideoChromaSubsamplingFlagsKHR
source · pub struct VideoChromaSubsamplingFlagsKHR(_);Expand description
Implementations§
source§impl 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
source§impl 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§
source§impl BitAnd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitAnd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
§type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the
& operator.source§fn bitand(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
fn bitand(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
Performs the
& operation. Read moresource§impl BitAndAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitAndAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
source§fn bitand_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
fn bitand_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
Performs the
&= operation. Read moresource§impl BitOr<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitOr<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
§type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the
| operator.source§fn bitor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
fn bitor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
Performs the
| operation. Read moresource§impl BitOrAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitOrAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
source§fn bitor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
fn bitor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
Performs the
|= operation. Read moresource§impl BitXor<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitXor<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
§type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the
^ operator.source§fn bitxor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
fn bitxor(
self,
rhs: VideoChromaSubsamplingFlagsKHR
) -> VideoChromaSubsamplingFlagsKHR
Performs the
^ operation. Read moresource§impl BitXorAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl BitXorAssign<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
source§fn bitxor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
fn bitxor_assign(&mut self, rhs: VideoChromaSubsamplingFlagsKHR)
Performs the
^= operation. Read moresource§impl Clone for VideoChromaSubsamplingFlagsKHR
impl Clone for VideoChromaSubsamplingFlagsKHR
source§fn clone(&self) -> VideoChromaSubsamplingFlagsKHR
fn clone(&self) -> VideoChromaSubsamplingFlagsKHR
Returns a copy 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 VideoChromaSubsamplingFlagsKHR
impl Default for VideoChromaSubsamplingFlagsKHR
source§fn default() -> VideoChromaSubsamplingFlagsKHR
fn default() -> VideoChromaSubsamplingFlagsKHR
Returns the “default value” for a type. Read more
source§impl Not for VideoChromaSubsamplingFlagsKHR
impl Not for VideoChromaSubsamplingFlagsKHR
§type Output = VideoChromaSubsamplingFlagsKHR
type Output = VideoChromaSubsamplingFlagsKHR
The resulting type after applying the
! operator.source§fn not(self) -> VideoChromaSubsamplingFlagsKHR
fn not(self) -> VideoChromaSubsamplingFlagsKHR
Performs the unary
! operation. Read moresource§impl Ord for VideoChromaSubsamplingFlagsKHR
impl Ord for VideoChromaSubsamplingFlagsKHR
source§fn cmp(&self, other: &VideoChromaSubsamplingFlagsKHR) -> Ordering
fn cmp(&self, other: &VideoChromaSubsamplingFlagsKHR) -> 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<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl PartialEq<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
source§fn 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 ==.source§impl PartialOrd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
impl PartialOrd<VideoChromaSubsamplingFlagsKHR> for VideoChromaSubsamplingFlagsKHR
source§fn partial_cmp(&self, other: &VideoChromaSubsamplingFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &VideoChromaSubsamplingFlagsKHR) -> Option<Ordering>
1.0.0 · source§fn 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