[][src]Trait shade_runner::layouts::ShaderInterfaceDef

pub unsafe trait ShaderInterfaceDef where
    <Self::Iter as Iterator>::Item == ShaderInterfaceDefEntry
{ type Iter: ExactSizeIterator; fn elements(&self) -> Self::Iter; }

Types that contain the definition of an interface between two shader stages, or between the outside and a shader stage.

Safety

Associated Types

type Iter: ExactSizeIterator

Iterator returned by elements.

Loading content...

Required methods

fn elements(&self) -> Self::Iter

Iterates over the elements of the interface.

Loading content...

Implementations on Foreign Types

impl ShaderInterfaceDef for EmptyShaderInterfaceDef[src]

type Iter = Empty<ShaderInterfaceDefEntry>

Loading content...

Implementors

impl ShaderInterfaceDef for Input[src]

impl ShaderInterfaceDef for Output[src]

Loading content...