pub enum CmdType {
Any,
Graphics,
Transfer,
Compute,
}Expand description
Abstraction over queue capability and command types since dedicated queues may not be available.
get_queue will fallback to the guarenteed unified queue if necessary.
let init = VkInit::new(Some(window_options), create_info)?;
let (compute_queue, compute_queue_family_index) = init.get_queue(CmdType::Compute);Variants§
Auto Trait Implementations§
impl Freeze for CmdType
impl RefUnwindSafe for CmdType
impl Send for CmdType
impl Sync for CmdType
impl Unpin for CmdType
impl UnwindSafe for CmdType
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