HasSemantics

Trait HasSemantics 

Source
pub trait HasSemantics<Name = &'static str, Index = u8> {
    type Sem: Semantics<Name = Name, Index = Index>;

    const SEMANTICS: Self::Sem;
}

Required Associated Constants§

Source

const SEMANTICS: Self::Sem

Required Associated Types§

Source

type Sem: Semantics<Name = Name, Index = Index>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§