Struct PhysicsServer3DExtensionMotionCollision
#[repr(C)]pub struct PhysicsServer3DExtensionMotionCollision {
pub position: Vector3,
pub normal: Vector3,
pub collider_velocity: Vector3,
pub collider_angular_velocity: Vector3,
pub depth: f32,
pub local_shape: i32,
pub collider_id: ObjectId,
pub collider: Rid,
pub collider_shape: i32,
}
Expand description
Fields§
§position: Vector3
§normal: Vector3
§collider_velocity: Vector3
§collider_angular_velocity: Vector3
§depth: f32
§local_shape: i32
§collider_id: ObjectId
§collider: Rid
§collider_shape: i32
Trait Implementations§
§impl Clone for PhysicsServer3DExtensionMotionCollision
impl Clone for PhysicsServer3DExtensionMotionCollision
§fn clone(&self) -> PhysicsServer3DExtensionMotionCollision
fn clone(&self) -> PhysicsServer3DExtensionMotionCollision
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl PartialEq for PhysicsServer3DExtensionMotionCollision
impl PartialEq for PhysicsServer3DExtensionMotionCollision
§fn eq(&self, other: &PhysicsServer3DExtensionMotionCollision) -> bool
fn eq(&self, other: &PhysicsServer3DExtensionMotionCollision) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PhysicsServer3DExtensionMotionCollision
Auto Trait Implementations§
impl Freeze for PhysicsServer3DExtensionMotionCollision
impl RefUnwindSafe for PhysicsServer3DExtensionMotionCollision
impl Send for PhysicsServer3DExtensionMotionCollision
impl Sync for PhysicsServer3DExtensionMotionCollision
impl Unpin for PhysicsServer3DExtensionMotionCollision
impl UnwindSafe for PhysicsServer3DExtensionMotionCollision
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)