Trait pleco::core::mono_traits::GenTypeTrait[][src]

pub trait GenTypeTrait {
    fn gen_type() -> GenTypes;
}

A GenTypeTrait allows for specific functions in relation to a certain type of move generation.

Alike PlayerTrait, GenTypeTrait is only used for compile-time optimization through mono-morphism. This trait isn't intended to be used elsewhere.

Required Methods

Returns the GenType.

Implementors