#[repr(transparent)]pub struct VideoCodingQualityPresetFlagsKHR(_);Expand description
Implementations
sourceimpl VideoCodingQualityPresetFlagsKHR
impl VideoCodingQualityPresetFlagsKHR
pub const fn empty() -> VideoCodingQualityPresetFlagsKHR
pub const fn from_raw(x: u32) -> VideoCodingQualityPresetFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: VideoCodingQualityPresetFlagsKHR) -> bool
sourcepub const fn contains(self, other: VideoCodingQualityPresetFlagsKHR) -> bool
pub const fn contains(self, other: VideoCodingQualityPresetFlagsKHR) -> bool
Returns whether other is a subset of self
sourceimpl VideoCodingQualityPresetFlagsKHR
impl VideoCodingQualityPresetFlagsKHR
pub const NORMAL: VideoCodingQualityPresetFlagsKHR = Self(1)
pub const POWER: VideoCodingQualityPresetFlagsKHR = Self(2)
pub const QUALITY: VideoCodingQualityPresetFlagsKHR = Self(4)
Trait Implementations
sourceimpl BitAnd<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl BitAnd<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
The resulting type after applying the & operator.
sourcefn bitand(
self,
rhs: VideoCodingQualityPresetFlagsKHR
) -> VideoCodingQualityPresetFlagsKHR
fn bitand(
self,
rhs: VideoCodingQualityPresetFlagsKHR
) -> VideoCodingQualityPresetFlagsKHR
Performs the & operation. Read more
sourceimpl BitAndAssign<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl BitAndAssign<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
sourcefn bitand_assign(&mut self, rhs: VideoCodingQualityPresetFlagsKHR)
fn bitand_assign(&mut self, rhs: VideoCodingQualityPresetFlagsKHR)
Performs the &= operation. Read more
sourceimpl BitOr<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl BitOr<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
The resulting type after applying the | operator.
sourcefn bitor(
self,
rhs: VideoCodingQualityPresetFlagsKHR
) -> VideoCodingQualityPresetFlagsKHR
fn bitor(
self,
rhs: VideoCodingQualityPresetFlagsKHR
) -> VideoCodingQualityPresetFlagsKHR
Performs the | operation. Read more
sourceimpl BitOrAssign<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl BitOrAssign<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
sourcefn bitor_assign(&mut self, rhs: VideoCodingQualityPresetFlagsKHR)
fn bitor_assign(&mut self, rhs: VideoCodingQualityPresetFlagsKHR)
Performs the |= operation. Read more
sourceimpl BitXor<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl BitXor<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
The resulting type after applying the ^ operator.
sourcefn bitxor(
self,
rhs: VideoCodingQualityPresetFlagsKHR
) -> VideoCodingQualityPresetFlagsKHR
fn bitxor(
self,
rhs: VideoCodingQualityPresetFlagsKHR
) -> VideoCodingQualityPresetFlagsKHR
Performs the ^ operation. Read more
sourceimpl BitXorAssign<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl BitXorAssign<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: VideoCodingQualityPresetFlagsKHR)
fn bitxor_assign(&mut self, rhs: VideoCodingQualityPresetFlagsKHR)
Performs the ^= operation. Read more
sourceimpl Clone for VideoCodingQualityPresetFlagsKHR
impl Clone for VideoCodingQualityPresetFlagsKHR
sourcefn clone(&self) -> VideoCodingQualityPresetFlagsKHR
fn clone(&self) -> VideoCodingQualityPresetFlagsKHR
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 VideoCodingQualityPresetFlagsKHR
impl Default for VideoCodingQualityPresetFlagsKHR
sourcefn default() -> VideoCodingQualityPresetFlagsKHR
fn default() -> VideoCodingQualityPresetFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Not for VideoCodingQualityPresetFlagsKHR
impl Not for VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
type Output = VideoCodingQualityPresetFlagsKHR
The resulting type after applying the ! operator.
sourcefn not(self) -> VideoCodingQualityPresetFlagsKHR
fn not(self) -> VideoCodingQualityPresetFlagsKHR
Performs the unary ! operation. Read more
sourceimpl Ord for VideoCodingQualityPresetFlagsKHR
impl Ord for VideoCodingQualityPresetFlagsKHR
sourceimpl PartialEq<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl PartialEq<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
sourcefn eq(&self, other: &VideoCodingQualityPresetFlagsKHR) -> bool
fn eq(&self, other: &VideoCodingQualityPresetFlagsKHR) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &VideoCodingQualityPresetFlagsKHR) -> bool
fn ne(&self, other: &VideoCodingQualityPresetFlagsKHR) -> bool
This method tests for !=.
sourceimpl PartialOrd<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
impl PartialOrd<VideoCodingQualityPresetFlagsKHR> for VideoCodingQualityPresetFlagsKHR
sourcefn partial_cmp(
&self,
other: &VideoCodingQualityPresetFlagsKHR
) -> Option<Ordering>
fn partial_cmp(
&self,
other: &VideoCodingQualityPresetFlagsKHR
) -> 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 VideoCodingQualityPresetFlagsKHR
impl Eq for VideoCodingQualityPresetFlagsKHR
impl StructuralEq for VideoCodingQualityPresetFlagsKHR
impl StructuralPartialEq for VideoCodingQualityPresetFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for VideoCodingQualityPresetFlagsKHR
impl Send for VideoCodingQualityPresetFlagsKHR
impl Sync for VideoCodingQualityPresetFlagsKHR
impl Unpin for VideoCodingQualityPresetFlagsKHR
impl UnwindSafe for VideoCodingQualityPresetFlagsKHR
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