[][src]Trait gfx_hal::queue::capability::Capability

pub trait Capability {
    fn supported_by(qt: QueueType) -> bool;
}

A Capability is an object that specifies what kind of operations a queue type performs, allowing what types support what queue operations to be described at runtime by the type system.

Required methods

fn supported_by(qt: QueueType) -> bool

Return true if this type level capability is supported by a run-time queue type.

Loading content...

Implementors

impl Capability for Compute[src]

impl Capability for General[src]

impl Capability for Graphics[src]

impl Capability for Transfer[src]

Loading content...