Trait SpecialMove
Source pub trait SpecialMove<T: Copy + Default + AddAssign + Add<Output = T> + Div<Output = T> + DivAssign + Mul<Output = T> + MulAssign + Neg<Output = T> + Rem<Output = T> + RemAssign + Sub<Output = T> + SubAssign + PartialOrd + NumCast> {
// Required methods
fn damage(&self, level: T) -> T;
fn mp_total(&self, _input: T) -> T;
fn mp_cost(&self, _input: T) -> T;
// Provided methods
fn tp_cost(&self, input: T) -> T { ... }
fn tp_total(&self, input: T) -> T { ... }
}