[][src]Trait luminance::vertex::HasSemantics

pub trait HasSemantics {
    type Sem: Semantics;

    const SEMANTICS: Self::Sem;
}

Class of types that have an associated value which type implements Semantics, defining vertex legit attributes.

Vertex attribute types can be associated with only one semantics.

Associated Types

type Sem: Semantics

Type of the semantics.

See the Semantics trait for further information.

Loading content...

Associated Constants

const SEMANTICS: Self::Sem

The aforementioned vertex semantics for the attribute type.

Loading content...

Implementors

Loading content...