fn spends(&self, action_type: &str) -> bool {
        for action in self.deref() {
            if action.kind() == action_type {
                return true
            }
        }
        false
    }
// "you can use each type of action only once per turn"
"you can use each type of action only once per turn"
" you can use each type of action only once per turn "
fn spends(&self, action_type: &str) -> bool {
        for action in self.deref() {
            if action.kind() == action_type {
                return true
            }
        }
        false
    }
fn spends ( & self , action_type : & str ) -> bool { for action in self . deref ( ) { if action . kind ( ) == action_type { return true } } false }
"you can use each type of action only once per turn"
" you can use each type of action only once per turn "
&self
action_type
&str
&self
action_type
&str