[][src]Enum gfx_hal::queue::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[src]

pub fn supports_graphics(&self) -> bool[src]

Returns true if the queue supports graphics operations.

pub fn supports_compute(&self) -> bool[src]

Returns true if the queue supports compute operations.

pub fn supports_transfer(&self) -> bool[src]

Returns true if the queue supports transfer operations.

Trait Implementations

impl Clone for QueueType[src]

impl Copy for QueueType[src]

impl Debug for QueueType[src]

impl Eq for QueueType[src]

impl PartialEq<QueueType> for QueueType[src]

impl StructuralEq for QueueType[src]

impl StructuralPartialEq for QueueType[src]

Auto Trait Implementations

impl RefUnwindSafe for QueueType

impl Send for QueueType

impl Sync for QueueType

impl Unpin for QueueType

impl UnwindSafe for QueueType

Blanket Implementations

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

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

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

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

impl<T, U> Into<U> for T where
    U: From<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.