[][src]Macro wgpu_bind_dsl::vis

macro_rules! vis {
    ( Vertex ) => { ... };
    ( Fragment ) => { ... };
    ( Compute ) => { ... };
    ( None ) => { ... };
    ( { $id:ident | $rest:ident }) => { ... };
    ( { $id:ident | $rest:ident | $more:ident }) => { ... };
}

for internal use only. converts a visibility expression into its equivalent wgpu::ShaderStage bitflag representation. only works on expression of up to three items.