manabrew-engine 0.2.2

Magic: The Gathering rules engine — a Rust port of Forge
Documentation
1
2
3
4
5
6
7
8
9
10
use super::PlayerAction;

#[derive(Debug, Clone, Copy, PartialEq, Eq, Default)]
pub struct FinishTargetingAction;

impl From<FinishTargetingAction> for PlayerAction {
    fn from(_: FinishTargetingAction) -> Self {
        PlayerAction::FinishTargeting
    }
}