Skip to main content

IActionDisposerHolderMethods

Trait IActionDisposerHolderMethods 

Source
pub trait IActionDisposerHolderMethods: IActionDisposerHolder {
    // Provided methods
    fn ctor(self, chr: impl Into<Character>, phase: impl Into<Phase>) { ... }
    fn on_exit(self) { ... }
    fn dispose(self) { ... }
}

Provided Methods§

Source

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

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

Source

fn on_exit(self)

OnExit() overload

Source

fn dispose(self)

Dispose() 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: IActionDisposerHolder> IActionDisposerHolderMethods for __T

Available on crate feature combat-actiondisposerholder only.