Semantics

Trait Semantics 

Source
pub trait Semantics {
    type Name;
    type Index: Copy;

    // Required methods
    fn name(&self) -> Self::Name;
    fn index(&self) -> Self::Index;
}

Required Associated Types§

Required Methods§

Source

fn name(&self) -> Self::Name

Source

fn index(&self) -> Self::Index

Implementors§