wgpu::dispatch

Macro trait_alias

source
macro_rules! trait_alias {
    ($name:ident: $($bound:tt)+) => { ... };
}
Expand description

Create a single trait with the given supertraits and a blanket impl for all types that implement them.

This is useful for creating a trait alias as a shorthand.