Trait pulau_rs::VertexType

source ·
pub trait VertexType: Eq + Copy {
    type IdentifierType: Copy + Eq + PartialOrd + AddAssign<Self::IdentifierType>;

    fn id(&self) -> Self::IdentifierType;
    fn usize(a: Self::IdentifierType) -> usize;
}
Expand description

Any type that can be used to index internal buffer

Required Associated Types§

Required Methods§

Implementations on Foreign Types§

Implementors§