pub trait IMapObject_RigidInfo: IObject {
// Provided methods
fn transform(self) -> Transform { ... }
fn set_transform(self, value: Transform) { ... }
fn position(self) -> Vector3 { ... }
fn set_position(self, value: Vector3) { ... }
fn scale(self) -> Vector3 { ... }
fn set_scale(self, value: Vector3) { ... }
fn rotation(self) -> Quaternion { ... }
fn set_rotation(self, value: Quaternion) { ... }
fn rigidbody(self) -> Rigidbody { ... }
fn set_rigidbody(self, value: Rigidbody) { ... }
}Provided Methods§
fn transform(self) -> Transform
fn set_transform(self, value: Transform)
fn position(self) -> Vector3
fn set_position(self, value: Vector3)
fn scale(self) -> Vector3
fn set_scale(self, value: Vector3)
fn rotation(self) -> Quaternion
fn set_rotation(self, value: Quaternion)
fn rigidbody(self) -> Rigidbody
fn set_rigidbody(self, value: Rigidbody)
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.