Trait CreateBindGroupLayout

Source
pub trait CreateBindGroupLayout {
    // Required methods
    fn create_bind_group_layout(
        device: &Device,
        label: Option<&str>,
    ) -> BindGroupLayoutWithDesc;
    fn create_bind_group_layout_vis(
        device: &Device,
        label: Option<&str>,
        visibility: ShaderStages,
    ) -> BindGroupLayoutWithDesc;
}

Required Methods§

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§