Struct screen_13::prelude::vk::VideoEncodeRateControlModeFlagsKHR
source · pub struct VideoEncodeRateControlModeFlagsKHR(/* private fields */);
Expand description
Implementations§
source§impl VideoEncodeRateControlModeFlagsKHR
impl VideoEncodeRateControlModeFlagsKHR
pub const fn empty() -> VideoEncodeRateControlModeFlagsKHR
pub const fn from_raw(x: u32) -> VideoEncodeRateControlModeFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: VideoEncodeRateControlModeFlagsKHR) -> bool
sourcepub const fn contains(self, other: VideoEncodeRateControlModeFlagsKHR) -> bool
pub const fn contains(self, other: VideoEncodeRateControlModeFlagsKHR) -> bool
Returns whether other
is a subset of self
source§impl VideoEncodeRateControlModeFlagsKHR
impl VideoEncodeRateControlModeFlagsKHR
pub const DEFAULT: VideoEncodeRateControlModeFlagsKHR = _
pub const DISABLED: VideoEncodeRateControlModeFlagsKHR = _
pub const CBR: VideoEncodeRateControlModeFlagsKHR = _
pub const VBR: VideoEncodeRateControlModeFlagsKHR = _
Trait Implementations§
source§impl BitAnd for VideoEncodeRateControlModeFlagsKHR
impl BitAnd for VideoEncodeRateControlModeFlagsKHR
§type Output = VideoEncodeRateControlModeFlagsKHR
type Output = VideoEncodeRateControlModeFlagsKHR
The resulting type after applying the
&
operator.source§fn bitand(
self,
rhs: VideoEncodeRateControlModeFlagsKHR
) -> VideoEncodeRateControlModeFlagsKHR
fn bitand( self, rhs: VideoEncodeRateControlModeFlagsKHR ) -> VideoEncodeRateControlModeFlagsKHR
Performs the
&
operation. Read moresource§impl BitAndAssign for VideoEncodeRateControlModeFlagsKHR
impl BitAndAssign for VideoEncodeRateControlModeFlagsKHR
source§fn bitand_assign(&mut self, rhs: VideoEncodeRateControlModeFlagsKHR)
fn bitand_assign(&mut self, rhs: VideoEncodeRateControlModeFlagsKHR)
Performs the
&=
operation. Read moresource§impl BitOr for VideoEncodeRateControlModeFlagsKHR
impl BitOr for VideoEncodeRateControlModeFlagsKHR
§type Output = VideoEncodeRateControlModeFlagsKHR
type Output = VideoEncodeRateControlModeFlagsKHR
The resulting type after applying the
|
operator.source§fn bitor(
self,
rhs: VideoEncodeRateControlModeFlagsKHR
) -> VideoEncodeRateControlModeFlagsKHR
fn bitor( self, rhs: VideoEncodeRateControlModeFlagsKHR ) -> VideoEncodeRateControlModeFlagsKHR
Performs the
|
operation. Read moresource§impl BitOrAssign for VideoEncodeRateControlModeFlagsKHR
impl BitOrAssign for VideoEncodeRateControlModeFlagsKHR
source§fn bitor_assign(&mut self, rhs: VideoEncodeRateControlModeFlagsKHR)
fn bitor_assign(&mut self, rhs: VideoEncodeRateControlModeFlagsKHR)
Performs the
|=
operation. Read moresource§impl BitXor for VideoEncodeRateControlModeFlagsKHR
impl BitXor for VideoEncodeRateControlModeFlagsKHR
§type Output = VideoEncodeRateControlModeFlagsKHR
type Output = VideoEncodeRateControlModeFlagsKHR
The resulting type after applying the
^
operator.source§fn bitxor(
self,
rhs: VideoEncodeRateControlModeFlagsKHR
) -> VideoEncodeRateControlModeFlagsKHR
fn bitxor( self, rhs: VideoEncodeRateControlModeFlagsKHR ) -> VideoEncodeRateControlModeFlagsKHR
Performs the
^
operation. Read moresource§impl BitXorAssign for VideoEncodeRateControlModeFlagsKHR
impl BitXorAssign for VideoEncodeRateControlModeFlagsKHR
source§fn bitxor_assign(&mut self, rhs: VideoEncodeRateControlModeFlagsKHR)
fn bitxor_assign(&mut self, rhs: VideoEncodeRateControlModeFlagsKHR)
Performs the
^=
operation. Read moresource§impl Clone for VideoEncodeRateControlModeFlagsKHR
impl Clone for VideoEncodeRateControlModeFlagsKHR
source§fn clone(&self) -> VideoEncodeRateControlModeFlagsKHR
fn clone(&self) -> VideoEncodeRateControlModeFlagsKHR
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 VideoEncodeRateControlModeFlagsKHR
impl Default for VideoEncodeRateControlModeFlagsKHR
source§fn default() -> VideoEncodeRateControlModeFlagsKHR
fn default() -> VideoEncodeRateControlModeFlagsKHR
Returns the “default value” for a type. Read more
source§impl Not for VideoEncodeRateControlModeFlagsKHR
impl Not for VideoEncodeRateControlModeFlagsKHR
§type Output = VideoEncodeRateControlModeFlagsKHR
type Output = VideoEncodeRateControlModeFlagsKHR
The resulting type after applying the
!
operator.source§fn not(self) -> VideoEncodeRateControlModeFlagsKHR
fn not(self) -> VideoEncodeRateControlModeFlagsKHR
Performs the unary
!
operation. Read moresource§impl Ord for VideoEncodeRateControlModeFlagsKHR
impl Ord for VideoEncodeRateControlModeFlagsKHR
source§fn cmp(&self, other: &VideoEncodeRateControlModeFlagsKHR) -> Ordering
fn cmp(&self, other: &VideoEncodeRateControlModeFlagsKHR) -> 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 VideoEncodeRateControlModeFlagsKHR
impl PartialEq for VideoEncodeRateControlModeFlagsKHR
source§fn eq(&self, other: &VideoEncodeRateControlModeFlagsKHR) -> bool
fn eq(&self, other: &VideoEncodeRateControlModeFlagsKHR) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VideoEncodeRateControlModeFlagsKHR
impl PartialOrd for VideoEncodeRateControlModeFlagsKHR
source§fn partial_cmp(
&self,
other: &VideoEncodeRateControlModeFlagsKHR
) -> Option<Ordering>
fn partial_cmp( &self, other: &VideoEncodeRateControlModeFlagsKHR ) -> 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 moreimpl Copy for VideoEncodeRateControlModeFlagsKHR
impl Eq for VideoEncodeRateControlModeFlagsKHR
impl StructuralPartialEq for VideoEncodeRateControlModeFlagsKHR
Auto Trait Implementations§
impl RefUnwindSafe for VideoEncodeRateControlModeFlagsKHR
impl Send for VideoEncodeRateControlModeFlagsKHR
impl Sync for VideoEncodeRateControlModeFlagsKHR
impl Unpin for VideoEncodeRateControlModeFlagsKHR
impl UnwindSafe for VideoEncodeRateControlModeFlagsKHR
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.