Struct PhysicsServer3DExtensionMotionResult
#[repr(C)]pub struct PhysicsServer3DExtensionMotionResult {
pub travel: Vector3,
pub remainder: Vector3,
pub collision_depth: f32,
pub collision_safe_fraction: f32,
pub collision_unsafe_fraction: f32,
pub collisions: [PhysicsServer3DExtensionMotionCollision; 32],
pub collision_count: i32,
}
Expand description
Fields§
§travel: Vector3
§remainder: Vector3
§collision_depth: f32
§collision_safe_fraction: f32
§collision_unsafe_fraction: f32
§collisions: [PhysicsServer3DExtensionMotionCollision; 32]
§collision_count: i32
Trait Implementations§
§impl Clone for PhysicsServer3DExtensionMotionResult
impl Clone for PhysicsServer3DExtensionMotionResult
§fn clone(&self) -> PhysicsServer3DExtensionMotionResult
fn clone(&self) -> PhysicsServer3DExtensionMotionResult
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 PhysicsServer3DExtensionMotionResult
impl PartialEq for PhysicsServer3DExtensionMotionResult
§fn eq(&self, other: &PhysicsServer3DExtensionMotionResult) -> bool
fn eq(&self, other: &PhysicsServer3DExtensionMotionResult) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PhysicsServer3DExtensionMotionResult
Auto Trait Implementations§
impl Freeze for PhysicsServer3DExtensionMotionResult
impl RefUnwindSafe for PhysicsServer3DExtensionMotionResult
impl Send for PhysicsServer3DExtensionMotionResult
impl Sync for PhysicsServer3DExtensionMotionResult
impl Unpin for PhysicsServer3DExtensionMotionResult
impl UnwindSafe for PhysicsServer3DExtensionMotionResult
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