#[repr(C)]pub struct PhysicsServer3DExtensionShapeRestInfo {
pub point: Vector3,
pub normal: Vector3,
pub rid: Rid,
pub collider_id: ObjectId,
pub shape: i32,
pub linear_velocity: Vector3,
}
Expand description
Fields§
§point: Vector3
§normal: Vector3
§rid: Rid
§collider_id: ObjectId
§shape: i32
§linear_velocity: Vector3
Trait Implementations§
§impl Clone for PhysicsServer3DExtensionShapeRestInfo
impl Clone for PhysicsServer3DExtensionShapeRestInfo
§fn clone(&self) -> PhysicsServer3DExtensionShapeRestInfo
fn clone(&self) -> PhysicsServer3DExtensionShapeRestInfo
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 PhysicsServer3DExtensionShapeRestInfo
impl PartialEq for PhysicsServer3DExtensionShapeRestInfo
§fn eq(&self, other: &PhysicsServer3DExtensionShapeRestInfo) -> bool
fn eq(&self, other: &PhysicsServer3DExtensionShapeRestInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PhysicsServer3DExtensionShapeRestInfo
Auto Trait Implementations§
impl Freeze for PhysicsServer3DExtensionShapeRestInfo
impl RefUnwindSafe for PhysicsServer3DExtensionShapeRestInfo
impl Send for PhysicsServer3DExtensionShapeRestInfo
impl Sync for PhysicsServer3DExtensionShapeRestInfo
impl Unpin for PhysicsServer3DExtensionShapeRestInfo
impl UnwindSafe for PhysicsServer3DExtensionShapeRestInfo
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)