pub struct RigidBody {
pub sleeping: bool,
pub location: Vector3f,
pub rotation: Quaternion,
pub linear_velocity: Option<Vector3f>,
pub angular_velocity: Option<Vector3f>,
}
Fields§
§sleeping: bool
§location: Vector3f
§rotation: Quaternion
§linear_velocity: Option<Vector3f>
§angular_velocity: Option<Vector3f>
Trait Implementations§
source§impl PartialEq for RigidBody
impl PartialEq for RigidBody
impl Copy for RigidBody
impl StructuralPartialEq for RigidBody
Auto Trait Implementations§
impl Freeze for RigidBody
impl RefUnwindSafe for RigidBody
impl Send for RigidBody
impl Sync for RigidBody
impl Unpin for RigidBody
impl UnwindSafe for RigidBody
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more