[]Enum rendy_command::QueueType

pub enum QueueType {
    General,
    Graphics,
    Compute,
    Transfer,
}

The type of the queue, an enum encompassing queue::Capability

Variants

General

Supports all operations.

Graphics

Only supports graphics and transfer operations.

Compute

Only supports compute and transfer operations.

Transfer

Only supports transfer operations.

Methods

impl QueueType

pub fn supports_graphics(&self) -> bool

Returns true if the queue supports graphics operations.

pub fn supports_compute(&self) -> bool

Returns true if the queue supports compute operations.

pub fn supports_transfer(&self) -> bool

Returns true if the queue supports transfer operations.

Trait Implementations

impl StructuralEq for QueueType

impl PartialEq<QueueType> for QueueType

impl Copy for QueueType

impl Eq for QueueType

impl Debug for QueueType

impl Clone for QueueType

impl StructuralPartialEq for QueueType

impl Capability for QueueType[src]

impl<C> Supports<C> for QueueType where
    C: Capability
[src]

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]