[][src]Trait web_glitz::pipeline::resources::TypedBindableResourceGroup

pub unsafe trait TypedBindableResourceGroup: EncodeBindableResourceGroup {
    type Layout: TypedBindGroupLayout;
}

Sub-trait of [EncodeBindGroup], where a type statically describes the layout for the bind group.

A BindGroup for resources that implement this trait may be bound to pipeline's with a matching typed resource bindings layout without additional runtime checks.

Unsafe

Any instance of a type that implements this trait must encode a bind group (see [EncodeBindGroup::encode_bind_group]) with a layout that matches the bind group layout declared by [Layout].

Associated Types

type Layout: TypedBindGroupLayout

Loading content...

Implementations on Foreign Types

impl TypedBindableResourceGroup for ()[src]

type Layout = ()

Loading content...

Implementors

impl<T> TypedBindableResourceGroup for T where
    T: Resources
[src]

type Layout = T

Loading content...