Struct bedrock::QueueFlags
[−]
[src]
pub struct QueueFlags(pub VkQueueFlags);
Set of bit of queue flags
Methods
impl QueueFlags
[src]
pub const EMPTY: Self
EMPTY: Self = QueueFlags(0)
Empty bits
pub const GRAPHICS: Self
GRAPHICS: Self = QueueFlags(VK_QUEUE_GRAPHICS_BIT)
Supports only graphics operations
pub const COMPUTE: Self
COMPUTE: Self = QueueFlags(VK_QUEUE_COMPUTE_BIT)
Supports only compute operations
pub const TRANSFER: Self
TRANSFER: Self = QueueFlags(VK_QUEUE_TRANSFER_BIT)
Supports only transfer operations
pub const SPARSE_BINDING: Self
SPARSE_BINDING: Self = QueueFlags(VK_QUEUE_SPARSE_BINDING_BIT)
Supports only sparse memory management operations
pub fn graphics(self) -> Self
[src]
Supports graphics operations
pub fn compute(self) -> Self
[src]
Supports compute operations
pub fn transfer(self) -> Self
[src]
Supports transfer operations
pub fn sparse_binding(self) -> Self
[src]
Supports sparse memory management operatinons
Trait Implementations
impl Debug for QueueFlags
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Clone for QueueFlags
[src]
fn clone(&self) -> QueueFlags
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl PartialEq for QueueFlags
[src]
fn eq(&self, __arg_0: &QueueFlags) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &QueueFlags) -> bool
[src]
This method tests for !=
.