pub trait ICharacterCollisionMethods: ICharacterCollision {
// Provided methods
fn awake(self) { ... }
fn on_enable(self) { ... }
fn on_disable(self) { ... }
fn get_kind(self) -> CharacterCollision_Kinds { ... }
fn get_radius(self) -> f32 { ... }
fn set_offset(
self,
move_offset: impl Into<f32>,
size_offset: impl Into<f32>,
) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn on_disable(self)
fn on_disable(self)
OnDisable() overload
Sourcefn get_kind(self) -> CharacterCollision_Kinds
fn get_kind(self) -> CharacterCollision_Kinds
GetKind() overload
Sourcefn get_radius(self) -> f32
fn get_radius(self) -> f32
GetRadius() overload
Sourcefn set_offset(self, move_offset: impl Into<f32>, size_offset: impl Into<f32>)
fn set_offset(self, move_offset: impl Into<f32>, size_offset: impl Into<f32>)
SetOffset(f32, f32) 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: ICharacterCollision> ICharacterCollisionMethods for __T
Available on crate feature
app-charactercollision only.