Trait ascending_graphics::Layout
source · pub trait Layout: Pod + Zeroable {
// Required method
fn create_layout(&self, gpu_device: &mut GpuDevice) -> BindGroupLayout;
// Provided method
fn layout_key(&self) -> (TypeId, Vec<u8>) { ... }
}Required Methods§
fn create_layout(&self, gpu_device: &mut GpuDevice) -> BindGroupLayout
Provided Methods§
fn layout_key(&self) -> (TypeId, Vec<u8>)
Object Safety§
This trait is not object safe.