pub trait IsPieceWithSide {
    type Side: Copy + Eq;

    fn match_on_piece_and_apply<U>(
        self,
        f_tam: &dyn Fn() -> U,
        f_piece: &dyn Fn(Color, Profession, Self::Side) -> U
    ) -> U; fn has_prof(self, prof: Profession) -> bool
    where
        Self: Sized
, { ... } }

Required Associated Types§

Required Methods§

Provided Methods§

Implementors§