Struct screen_13::prelude::vk::QueueFlags
source · pub struct QueueFlags(_);Expand description
Implementations§
source§impl QueueFlags
impl QueueFlags
pub const fn empty() -> QueueFlags
pub const fn from_raw(x: u32) -> QueueFlags
pub const fn as_raw(self) -> u32
pub const fn is_empty(self) -> bool
pub const fn intersects(self, other: QueueFlags) -> bool
sourcepub const fn contains(self, other: QueueFlags) -> bool
pub const fn contains(self, other: QueueFlags) -> bool
Returns whether other is a subset of self
source§impl QueueFlags
impl QueueFlags
sourcepub const GRAPHICS: QueueFlags = Self(1)
pub const GRAPHICS: QueueFlags = Self(1)
Queue supports graphics operations
sourcepub const COMPUTE: QueueFlags = Self(2)
pub const COMPUTE: QueueFlags = Self(2)
Queue supports compute operations
sourcepub const TRANSFER: QueueFlags = Self(4)
pub const TRANSFER: QueueFlags = Self(4)
Queue supports transfer operations
sourcepub const SPARSE_BINDING: QueueFlags = Self(8)
pub const SPARSE_BINDING: QueueFlags = Self(8)
Queue supports sparse resource memory management operations
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_KHR: QueueFlags = Self(32)
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_EXT_extension_259’
pub const RESERVED_9_EXT: QueueFlags = Self(512)
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_KHR: QueueFlags = Self(64)
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_QCOM_extension_440’
pub const RESERVED_7_QCOM: QueueFlags = Self(128)
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_NV_optical_flow’
pub const OPTICAL_FLOW_NV: QueueFlags = Self(256)
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const PROTECTED: QueueFlags = Self(16)
pub const PROTECTED: QueueFlags = Self(16)
Queues may support protected operations
Trait Implementations§
source§impl BitAnd<QueueFlags> for QueueFlags
impl BitAnd<QueueFlags> for QueueFlags
§type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the
& operator.source§fn bitand(self, rhs: QueueFlags) -> QueueFlags
fn bitand(self, rhs: QueueFlags) -> QueueFlags
Performs the
& operation. Read moresource§impl BitAndAssign<QueueFlags> for QueueFlags
impl BitAndAssign<QueueFlags> for QueueFlags
source§fn bitand_assign(&mut self, rhs: QueueFlags)
fn bitand_assign(&mut self, rhs: QueueFlags)
Performs the
&= operation. Read moresource§impl BitOr<QueueFlags> for QueueFlags
impl BitOr<QueueFlags> for QueueFlags
§type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the
| operator.source§fn bitor(self, rhs: QueueFlags) -> QueueFlags
fn bitor(self, rhs: QueueFlags) -> QueueFlags
Performs the
| operation. Read moresource§impl BitOrAssign<QueueFlags> for QueueFlags
impl BitOrAssign<QueueFlags> for QueueFlags
source§fn bitor_assign(&mut self, rhs: QueueFlags)
fn bitor_assign(&mut self, rhs: QueueFlags)
Performs the
|= operation. Read moresource§impl BitXor<QueueFlags> for QueueFlags
impl BitXor<QueueFlags> for QueueFlags
§type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the
^ operator.source§fn bitxor(self, rhs: QueueFlags) -> QueueFlags
fn bitxor(self, rhs: QueueFlags) -> QueueFlags
Performs the
^ operation. Read moresource§impl BitXorAssign<QueueFlags> for QueueFlags
impl BitXorAssign<QueueFlags> for QueueFlags
source§fn bitxor_assign(&mut self, rhs: QueueFlags)
fn bitxor_assign(&mut self, rhs: QueueFlags)
Performs the
^= operation. Read moresource§impl Clone for QueueFlags
impl Clone for QueueFlags
source§fn clone(&self) -> QueueFlags
fn clone(&self) -> QueueFlags
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 Debug for QueueFlags
impl Debug for QueueFlags
source§impl Default for QueueFlags
impl Default for QueueFlags
source§fn default() -> QueueFlags
fn default() -> QueueFlags
Returns the “default value” for a type. Read more
source§impl Hash for QueueFlags
impl Hash for QueueFlags
source§impl Not for QueueFlags
impl Not for QueueFlags
§type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the
! operator.source§fn not(self) -> QueueFlags
fn not(self) -> QueueFlags
Performs the unary
! operation. Read moresource§impl Ord for QueueFlags
impl Ord for QueueFlags
source§fn cmp(&self, other: &QueueFlags) -> Ordering
fn cmp(&self, other: &QueueFlags) -> 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<QueueFlags> for QueueFlags
impl PartialEq<QueueFlags> for QueueFlags
source§fn eq(&self, other: &QueueFlags) -> bool
fn eq(&self, other: &QueueFlags) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<QueueFlags> for QueueFlags
impl PartialOrd<QueueFlags> for QueueFlags
source§fn partial_cmp(&self, other: &QueueFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &QueueFlags) -> 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