rendy_command

Trait Supports

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

    // Provided method
    fn assert(&self) { ... }
}
Expand description

Check if capability supported.

Required Methods§

Source

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

Check runtime capability.

Provided Methods§

Source

fn assert(&self)

Assert capability.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§