#[repr(transparent)]pub struct VkVideoDecodeCapabilityFlagsKHR(pub i32);Expand description
VkVideoDecodeCapabilityFlagsKHR
Tuple Fields§
§0: i32Implementations§
Source§impl VkVideoDecodeCapabilityFlagsKHR
impl VkVideoDecodeCapabilityFlagsKHR
Sourcepub const fn has_any_flags(self, flags: Self) -> bool
pub const fn has_any_flags(self, flags: Self) -> bool
return is any bits in flags are set
Sourcepub const fn has_flags_only(self, flags: Self) -> bool
pub const fn has_flags_only(self, flags: Self) -> bool
return is only bits in flags are set
Trait Implementations§
Source§impl BitAndAssign for VkVideoDecodeCapabilityFlagsKHR
impl BitAndAssign for VkVideoDecodeCapabilityFlagsKHR
Source§fn bitand_assign(&mut self, rhs: Self)
fn bitand_assign(&mut self, rhs: Self)
Performs the
&= operation. Read moreSource§impl BitOrAssign for VkVideoDecodeCapabilityFlagsKHR
impl BitOrAssign for VkVideoDecodeCapabilityFlagsKHR
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl BitXorAssign for VkVideoDecodeCapabilityFlagsKHR
impl BitXorAssign for VkVideoDecodeCapabilityFlagsKHR
Source§fn bitxor_assign(&mut self, rhs: Self)
fn bitxor_assign(&mut self, rhs: Self)
Performs the
^= operation. Read moreSource§impl Clone for VkVideoDecodeCapabilityFlagsKHR
impl Clone for VkVideoDecodeCapabilityFlagsKHR
Source§fn clone(&self) -> VkVideoDecodeCapabilityFlagsKHR
fn clone(&self) -> VkVideoDecodeCapabilityFlagsKHR
Returns a duplicate 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 VkVideoDecodeCapabilityFlagsKHR
impl Default for VkVideoDecodeCapabilityFlagsKHR
Source§fn default() -> VkVideoDecodeCapabilityFlagsKHR
fn default() -> VkVideoDecodeCapabilityFlagsKHR
Returns the “default value” for a type. Read more
Source§impl From<VkVideoDecodeCapabilityFlagsKHR> for i32
impl From<VkVideoDecodeCapabilityFlagsKHR> for i32
Source§fn from(value: VkVideoDecodeCapabilityFlagsKHR) -> Self
fn from(value: VkVideoDecodeCapabilityFlagsKHR) -> Self
Converts to this type from the input type.
Source§impl From<i32> for VkVideoDecodeCapabilityFlagsKHR
impl From<i32> for VkVideoDecodeCapabilityFlagsKHR
Source§impl Ord for VkVideoDecodeCapabilityFlagsKHR
impl Ord for VkVideoDecodeCapabilityFlagsKHR
Source§fn cmp(&self, other: &VkVideoDecodeCapabilityFlagsKHR) -> Ordering
fn cmp(&self, other: &VkVideoDecodeCapabilityFlagsKHR) -> 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 VkVideoDecodeCapabilityFlagsKHR
impl PartialEq for VkVideoDecodeCapabilityFlagsKHR
Source§fn eq(&self, other: &VkVideoDecodeCapabilityFlagsKHR) -> bool
fn eq(&self, other: &VkVideoDecodeCapabilityFlagsKHR) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for VkVideoDecodeCapabilityFlagsKHR
impl PartialOrd for VkVideoDecodeCapabilityFlagsKHR
impl Copy for VkVideoDecodeCapabilityFlagsKHR
impl Eq for VkVideoDecodeCapabilityFlagsKHR
impl StructuralPartialEq for VkVideoDecodeCapabilityFlagsKHR
Auto Trait Implementations§
impl Freeze for VkVideoDecodeCapabilityFlagsKHR
impl RefUnwindSafe for VkVideoDecodeCapabilityFlagsKHR
impl Send for VkVideoDecodeCapabilityFlagsKHR
impl Sync for VkVideoDecodeCapabilityFlagsKHR
impl Unpin for VkVideoDecodeCapabilityFlagsKHR
impl UnsafeUnpin for VkVideoDecodeCapabilityFlagsKHR
impl UnwindSafe for VkVideoDecodeCapabilityFlagsKHR
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