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

pub trait HasSemantics {
    type Sem: Semantics;

    pub 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[src]

Type of the semantics.

See the Semantics trait for further information.

Loading content...

Associated Constants

pub const SEMANTICS: Self::Sem[src]

The aforementioned vertex semantics for the attribute type.

Loading content...

Implementors

Loading content...