[][src]Trait rendy_command::Supports

pub trait Supports<C>: Capability {
    fn supports(&self) -> Option<C>;

    fn assert(&self) { ... }
}
[]

Check if capability supported.

Required methods

fn supports(&self) -> Option<C>[]

Check runtime capability.

Provided methods

fn assert(&self)[]

Assert capability.

Implementors

impl Supports<Compute> for Compute[src][+]

impl Supports<Compute> for General[src][+]

impl Supports<Execute> for Compute[src][+]

impl Supports<Execute> for General[src][+]

impl Supports<Execute> for Graphics[src][+]

impl Supports<Graphics> for General[src][+]

impl Supports<Graphics> for Graphics[src][+]

impl Supports<Transfer> for Compute[src][+]

impl Supports<Transfer> for General[src][+]

impl Supports<Transfer> for Graphics[src][+]

impl Supports<Transfer> for Transfer[src][+]

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