Struct screen_13::prelude::vk::QueueFlags
source · pub struct QueueFlags(/* private fields */);
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 = _
pub const GRAPHICS: QueueFlags = _
Queue supports graphics operations
sourcepub const COMPUTE: QueueFlags = _
pub const COMPUTE: QueueFlags = _
Queue supports compute operations
sourcepub const TRANSFER: QueueFlags = _
pub const TRANSFER: QueueFlags = _
Queue supports transfer operations
sourcepub const SPARSE_BINDING: QueueFlags = _
pub const SPARSE_BINDING: QueueFlags = _
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 = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_EXT_extension_259’
pub const RESERVED_9_EXT: QueueFlags = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_KHR_video_encode_queue’
pub const VIDEO_ENCODE_KHR: QueueFlags = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_QCOM_extension_440’
pub const RESERVED_7_QCOM: QueueFlags = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_ARM_extension_453’
pub const RESERVED_11_ARM: QueueFlags = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_NV_optical_flow’
pub const OPTICAL_FLOW_NV: QueueFlags = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_EXT_extension_508’
pub const RESERVED_10_EXT: QueueFlags = _
source§impl QueueFlags
impl QueueFlags
Generated from ‘VK_VERSION_1_1’
sourcepub const PROTECTED: QueueFlags = _
pub const PROTECTED: QueueFlags = _
Queues may support protected operations
Trait Implementations§
source§impl BitAnd for QueueFlags
impl BitAnd 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 for QueueFlags
impl BitAndAssign for QueueFlags
source§fn bitand_assign(&mut self, rhs: QueueFlags)
fn bitand_assign(&mut self, rhs: QueueFlags)
Performs the
&=
operation. Read moresource§impl BitOr for QueueFlags
impl BitOr 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 for QueueFlags
impl BitOrAssign for QueueFlags
source§fn bitor_assign(&mut self, rhs: QueueFlags)
fn bitor_assign(&mut self, rhs: QueueFlags)
Performs the
|=
operation. Read moresource§impl BitXor for QueueFlags
impl BitXor 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 for QueueFlags
impl BitXorAssign 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 for QueueFlags
impl PartialEq 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 for QueueFlags
impl PartialOrd 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 moreimpl Copy for QueueFlags
impl Eq 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§
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s.