[][src]Trait rendy::command::Capability

pub trait Capability: 'static + Copy + Debug {
    fn from_queue_type(queue_type: QueueType) -> Option<Self>;
fn into_queue_type(self) -> QueueType; }

Abstract capability specifier.

Required methods

fn from_queue_type(queue_type: QueueType) -> Option<Self>

Try to create capability instance from queue_type. Instance will be created if all required queue_type set.

fn into_queue_type(self) -> QueueType

Convert into QueueType

Loading content...

Implementors

Loading content...