pub trait IActionBaseMethods: IActionBase {
// Provided methods
fn get_cp(self) -> Character { ... }
fn set_cp(self, value: impl Into<Character>) { ... }
fn get_m_phase(self) -> Phase { ... }
fn set_m_phase(self, value: impl Into<Phase>) { ... }
fn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>) { ... }
fn set_phase_for_rush(self, phase: impl Into<Phase>) { ... }
}Provided Methods§
Sourcefn set_cp(self, value: impl Into<Character>)
fn set_cp(self, value: impl Into<Character>)
set_CP(crate::combat::character::Character) overload
Sourcefn get_m_phase(self) -> Phase
fn get_m_phase(self) -> Phase
get_m_Phase() overload
Sourcefn set_m_phase(self, value: impl Into<Phase>)
fn set_m_phase(self, value: impl Into<Phase>)
set_m_Phase(crate::combat::phase::Phase) overload
Sourcefn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>)
fn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>)
.ctor(crate::combat::character::Character, crate::combat::phase::Phase) overload
Sourcefn set_phase_for_rush(self, phase: impl Into<Phase>)
fn set_phase_for_rush(self, phase: impl Into<Phase>)
SetPhaseForRush(crate::combat::phase::Phase) overload
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
impl<__T: IActionBase> IActionBaseMethods for __T
Available on crate feature
combat-actionbase only.