#[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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl 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 moresourceimpl Ord for QueueFlags
impl Ord for QueueFlags
sourcefn cmp(&self, other: &QueueFlags) -> Ordering
fn cmp(&self, other: &QueueFlags) -> Ordering
1.21.0 · sourcefn max(self, other: Self) -> Self
fn max(self, other: Self) -> Self
Compares and returns the maximum of two values. Read more
1.21.0 · sourcefn min(self, other: Self) -> Self
fn min(self, other: Self) -> Self
Compares and returns the minimum of two values. Read more
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<QueueFlags> for QueueFlags
impl PartialEq<QueueFlags> for QueueFlags
sourcefn eq(&self, other: &QueueFlags) -> bool
fn eq(&self, other: &QueueFlags) -> bool
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>
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 moreimpl 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 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