logo
pub trait HasSemantics {
    type Sem: Semantics;

    const SEMANTICS: Self::Sem;
}
Expand description

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.

Required Associated Types

Type of the semantics.

See the Semantics trait for further information.

Required Associated Constants

The aforementioned vertex semantics for the attribute type.

Implementors