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

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

fn gen_type() -> GenTypes

Returns the GenType.

Loading content...

Implementors

impl GenTypeTrait for AllGenType[src]

impl GenTypeTrait for CapturesGenType[src]

impl GenTypeTrait for EvasionsGenType[src]

impl GenTypeTrait for NonEvasionsGenType[src]

impl GenTypeTrait for QuietChecksGenType[src]

impl GenTypeTrait for QuietsGenType[src]

Loading content...