pub struct VkQueueFlags {
pub graphics: bool,
pub compute: bool,
pub transfer: bool,
pub sparse_binding: bool,
pub protected: bool,
}
Expand description
Wrapper for VkQueueFlags.
Use the macro VkQueueFlags!
as an alternative method to create a structure. For example, these two snippets return the same value:
VkQueueFlags!(graphics, compute)
VkQueueFlags {
graphics: true,
compute: true,
..VkQueueFlags::none()
}
Fields§
§graphics: bool
§compute: bool
§transfer: bool
§sparse_binding: bool
§protected: bool
Implementations§
Trait Implementations§
Source§impl Clone for VkQueueFlags
impl Clone for VkQueueFlags
Source§fn clone(&self) -> VkQueueFlags
fn clone(&self) -> VkQueueFlags
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 VkQueueFlags
impl Debug for VkQueueFlags
Source§impl Default for VkQueueFlags
impl Default for VkQueueFlags
Source§fn default() -> VkQueueFlags
fn default() -> VkQueueFlags
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for VkQueueFlags
impl RefUnwindSafe for VkQueueFlags
impl Send for VkQueueFlags
impl Sync for VkQueueFlags
impl Unpin for VkQueueFlags
impl UnwindSafe for VkQueueFlags
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