Skip to main content

ICharacterWeaponMethods

Trait ICharacterWeaponMethods 

Source
pub trait ICharacterWeaponMethods: ICharacterWeapon {
    // Provided methods
    fn get_cp(self) -> Character { ... }
    fn start(self) { ... }
    fn my_start(self) { ... }
    fn my_late_update(self) { ... }
    fn stop(self) { ... }
    fn on_destroy(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_cp(self) -> Character

get_CP() overload

Source

fn start(self)

Start() overload

Source

fn my_start(self)

MyStart() overload

Source

fn my_late_update(self)

MyLateUpdate() overload

Source

fn stop(self)

Stop() overload

Source

fn on_destroy(self)

OnDestroy() overload

Source

fn ctor(self)

.ctor() 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: ICharacterWeapon> ICharacterWeaponMethods for __T

Available on crate feature combat-characterweapon only.