Skip to main content

IActionBaseMethods

Trait IActionBaseMethods 

Source
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§

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn set_cp(self, value: impl Into<Character>)

set_CP(crate::combat::character::Character) overload

Source

fn get_m_phase(self) -> Phase

get_m_Phase() overload

Source

fn set_m_phase(self, value: impl Into<Phase>)

set_m_Phase(crate::combat::phase::Phase) overload

Source

fn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>)

.ctor(crate::combat::character::Character, crate::combat::phase::Phase) overload

Source

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§

Source§

impl<__T: IActionBase> IActionBaseMethods for __T

Available on crate feature combat-actionbase only.