#[repr(transparent)]pub struct QueueFlags(_);Expand description
Implementations
sourceimpl 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
sourceimpl 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
sourceimpl QueueFlags
impl QueueFlags
Generated from ‘VK_KHR_video_decode_queue’
pub const VIDEO_DECODE_KHR: QueueFlags = Self(32)
sourceimpl QueueFlags
impl QueueFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_KHR: QueueFlags = Self(64)
sourceimpl QueueFlags
impl QueueFlags
Generated from ‘VK_QCOM_extension_440’
pub const RESERVED_7_QCOM: QueueFlags = Self(128)
sourceimpl 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
sourceimpl BitAnd<QueueFlags> for QueueFlags
impl BitAnd<QueueFlags> for QueueFlags
type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the & operator.
sourcefn bitand(self, rhs: QueueFlags) -> QueueFlags
fn bitand(self, rhs: QueueFlags) -> QueueFlags
Performs the & operation. Read more
sourceimpl BitAndAssign<QueueFlags> for QueueFlags
impl BitAndAssign<QueueFlags> for QueueFlags
sourcefn bitand_assign(&mut self, rhs: QueueFlags)
fn bitand_assign(&mut self, rhs: QueueFlags)
Performs the &= operation. Read more
sourceimpl BitOr<QueueFlags> for QueueFlags
impl BitOr<QueueFlags> for QueueFlags
type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the | operator.
sourcefn bitor(self, rhs: QueueFlags) -> QueueFlags
fn bitor(self, rhs: QueueFlags) -> QueueFlags
Performs the | operation. Read more
sourceimpl BitOrAssign<QueueFlags> for QueueFlags
impl BitOrAssign<QueueFlags> for QueueFlags
sourcefn bitor_assign(&mut self, rhs: QueueFlags)
fn bitor_assign(&mut self, rhs: QueueFlags)
Performs the |= operation. Read more
sourceimpl BitXor<QueueFlags> for QueueFlags
impl BitXor<QueueFlags> for QueueFlags
type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the ^ operator.
sourcefn bitxor(self, rhs: QueueFlags) -> QueueFlags
fn bitxor(self, rhs: QueueFlags) -> QueueFlags
Performs the ^ operation. Read more
sourceimpl BitXorAssign<QueueFlags> for QueueFlags
impl BitXorAssign<QueueFlags> for QueueFlags
sourcefn bitxor_assign(&mut self, rhs: QueueFlags)
fn bitxor_assign(&mut self, rhs: QueueFlags)
Performs the ^= operation. Read more
sourceimpl Clone for QueueFlags
impl Clone for QueueFlags
sourcefn clone(&self) -> QueueFlags
fn clone(&self) -> QueueFlags
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 Debug for QueueFlags
impl Debug for QueueFlags
sourceimpl Default for QueueFlags
impl Default for QueueFlags
sourcefn default() -> QueueFlags
fn default() -> QueueFlags
Returns the “default value” for a type. Read more
sourceimpl Hash for QueueFlags
impl Hash for QueueFlags
sourceimpl Not for QueueFlags
impl Not for QueueFlags
type Output = QueueFlags
type Output = QueueFlags
The resulting type after applying the ! operator.
sourcefn not(self) -> QueueFlags
fn not(self) -> QueueFlags
Performs the unary ! operation. Read more
sourceimpl Ord for QueueFlags
impl Ord for QueueFlags
sourceimpl PartialEq<QueueFlags> for QueueFlags
impl PartialEq<QueueFlags> for QueueFlags
sourcefn 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 ==. Read more
sourcefn ne(&self, other: &QueueFlags) -> bool
fn ne(&self, other: &QueueFlags) -> bool
This method tests for !=.
sourceimpl PartialOrd<QueueFlags> for QueueFlags
impl PartialOrd<QueueFlags> for QueueFlags
sourcefn partial_cmp(&self, other: &QueueFlags) -> Option<Ordering>
fn partial_cmp(&self, other: &QueueFlags) -> 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 QueueFlags
impl Eq for QueueFlags
impl StructuralEq for QueueFlags
impl StructuralPartialEq for QueueFlags
Auto Trait Implementations
impl RefUnwindSafe for QueueFlags
impl Send for QueueFlags
impl Sync for QueueFlags
impl Unpin for QueueFlags
impl UnwindSafe for QueueFlags
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