Function libcoinche::game::can_play [] [src]

pub fn can_play(
    p: PlayerPos,
    card: Card,
    hand: Hand,
    trick: &Trick,
    trump: Suit
) -> Result<(), PlayError>

Returns true if the move appear legal.