pub trait ActionCmp<O> {
    // Required method
    fn is_superior_action(&self, other: &O) -> bool;
}
Expand description

For two actions, will tell you if the actions is the more superior action (a swap is superior to a transfer of a swap)

Required Methods§

source

fn is_superior_action(&self, other: &O) -> bool

checks if this action is the superior action. eg Swap is the superior action to a transfer related to the swap

Implementors§