pub trait IRigidbody2DMethods: IRigidbody2D {
// Provided methods
fn get_velocity(self) -> Vector2 { ... }
fn get_mass(self) -> f32 { ... }
fn ctor(self) { ... }
fn get_velocity_injected(self) -> Vector2 { ... }
}Provided Methods§
Sourcefn get_velocity(self) -> Vector2
fn get_velocity(self) -> Vector2
get_velocity() overload
Sourcefn get_velocity_injected(self) -> Vector2
fn get_velocity_injected(self) -> Vector2
get_velocity_Injected(*mutcrate::unity_engine::vector2::Vector2) 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: IRigidbody2D> IRigidbody2DMethods for __T
Available on crate feature
unity_engine-rigidbody2d only.