pub struct VideoEncodeFlagsKHR(_);Expand description
Implementations
sourceimpl VideoEncodeFlagsKHR
impl VideoEncodeFlagsKHR
pub const fn empty() -> VideoEncodeFlagsKHR
pub const fn from_raw(x: u32) -> VideoEncodeFlagsKHR
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: VideoEncodeFlagsKHR) -> bool
sourcepub const fn contains(self, other: VideoEncodeFlagsKHR) -> bool
pub const fn contains(self, other: VideoEncodeFlagsKHR) -> bool
Returns whether other is a subset of self
sourceimpl VideoEncodeFlagsKHR
impl VideoEncodeFlagsKHR
pub const DEFAULT: VideoEncodeFlagsKHR = Self(0)
pub const RESERVED_0: VideoEncodeFlagsKHR = Self(1)
Trait Implementations
sourceimpl BitAnd<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl BitAnd<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
The resulting type after applying the
& operator.sourcefn bitand(self, rhs: VideoEncodeFlagsKHR) -> VideoEncodeFlagsKHR
fn bitand(self, rhs: VideoEncodeFlagsKHR) -> VideoEncodeFlagsKHR
Performs the
& operation. Read moresourceimpl BitAndAssign<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl BitAndAssign<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
sourcefn bitand_assign(&mut self, rhs: VideoEncodeFlagsKHR)
fn bitand_assign(&mut self, rhs: VideoEncodeFlagsKHR)
Performs the
&= operation. Read moresourceimpl BitOr<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl BitOr<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
The resulting type after applying the
| operator.sourcefn bitor(self, rhs: VideoEncodeFlagsKHR) -> VideoEncodeFlagsKHR
fn bitor(self, rhs: VideoEncodeFlagsKHR) -> VideoEncodeFlagsKHR
Performs the
| operation. Read moresourceimpl BitOrAssign<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl BitOrAssign<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
sourcefn bitor_assign(&mut self, rhs: VideoEncodeFlagsKHR)
fn bitor_assign(&mut self, rhs: VideoEncodeFlagsKHR)
Performs the
|= operation. Read moresourceimpl BitXor<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl BitXor<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
The resulting type after applying the
^ operator.sourcefn bitxor(self, rhs: VideoEncodeFlagsKHR) -> VideoEncodeFlagsKHR
fn bitxor(self, rhs: VideoEncodeFlagsKHR) -> VideoEncodeFlagsKHR
Performs the
^ operation. Read moresourceimpl BitXorAssign<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl BitXorAssign<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
sourcefn bitxor_assign(&mut self, rhs: VideoEncodeFlagsKHR)
fn bitxor_assign(&mut self, rhs: VideoEncodeFlagsKHR)
Performs the
^= operation. Read moresourceimpl Clone for VideoEncodeFlagsKHR
impl Clone for VideoEncodeFlagsKHR
sourcefn clone(&self) -> VideoEncodeFlagsKHR
fn clone(&self) -> VideoEncodeFlagsKHR
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Debug for VideoEncodeFlagsKHR
impl Debug for VideoEncodeFlagsKHR
sourceimpl Default for VideoEncodeFlagsKHR
impl Default for VideoEncodeFlagsKHR
sourcefn default() -> VideoEncodeFlagsKHR
fn default() -> VideoEncodeFlagsKHR
Returns the “default value” for a type. Read more
sourceimpl Hash for VideoEncodeFlagsKHR
impl Hash for VideoEncodeFlagsKHR
sourceimpl Not for VideoEncodeFlagsKHR
impl Not for VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
type Output = VideoEncodeFlagsKHR
The resulting type after applying the
! operator.sourcefn not(self) -> VideoEncodeFlagsKHR
fn not(self) -> VideoEncodeFlagsKHR
Performs the unary
! operation. Read moresourceimpl Ord for VideoEncodeFlagsKHR
impl Ord for VideoEncodeFlagsKHR
sourcefn cmp(&self, other: &VideoEncodeFlagsKHR) -> Ordering
fn cmp(&self, other: &VideoEncodeFlagsKHR) -> Ordering
1.21.0 · sourceconst fn max(self, other: Self) -> Selfwhere
Self: Sized,
const fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 · sourceconst fn min(self, other: Self) -> Selfwhere
Self: Sized,
const fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
1.50.0 · sourceconst fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
const fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl PartialEq<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
sourcefn eq(&self, other: &VideoEncodeFlagsKHR) -> bool
fn eq(&self, other: &VideoEncodeFlagsKHR) -> bool
sourceimpl PartialOrd<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
impl PartialOrd<VideoEncodeFlagsKHR> for VideoEncodeFlagsKHR
sourcefn partial_cmp(&self, other: &VideoEncodeFlagsKHR) -> Option<Ordering>
fn partial_cmp(&self, other: &VideoEncodeFlagsKHR) -> Option<Ordering>
1.0.0 · sourceconst fn le(&self, other: &Rhs) -> bool
const 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 VideoEncodeFlagsKHR
impl Eq for VideoEncodeFlagsKHR
impl StructuralEq for VideoEncodeFlagsKHR
impl StructuralPartialEq for VideoEncodeFlagsKHR
Auto Trait Implementations
impl RefUnwindSafe for VideoEncodeFlagsKHR
impl Send for VideoEncodeFlagsKHR
impl Sync for VideoEncodeFlagsKHR
impl Unpin for VideoEncodeFlagsKHR
impl UnwindSafe for VideoEncodeFlagsKHR
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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