Struct PhysicsServer2DExtensionShapeRestInfo
#[repr(C)]pub struct PhysicsServer2DExtensionShapeRestInfo {
pub point: Vector2,
pub normal: Vector2,
pub rid: Rid,
pub collider_id: ObjectId,
pub shape: i32,
pub linear_velocity: Vector2,
}
Expand description
Fields§
§point: Vector2
§normal: Vector2
§rid: Rid
§collider_id: ObjectId
§shape: i32
§linear_velocity: Vector2
Trait Implementations§
§impl Clone for PhysicsServer2DExtensionShapeRestInfo
impl Clone for PhysicsServer2DExtensionShapeRestInfo
§fn clone(&self) -> PhysicsServer2DExtensionShapeRestInfo
fn clone(&self) -> PhysicsServer2DExtensionShapeRestInfo
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 PhysicsServer2DExtensionShapeRestInfo
impl PartialEq for PhysicsServer2DExtensionShapeRestInfo
§fn eq(&self, other: &PhysicsServer2DExtensionShapeRestInfo) -> bool
fn eq(&self, other: &PhysicsServer2DExtensionShapeRestInfo) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl StructuralPartialEq for PhysicsServer2DExtensionShapeRestInfo
Auto Trait Implementations§
impl Freeze for PhysicsServer2DExtensionShapeRestInfo
impl RefUnwindSafe for PhysicsServer2DExtensionShapeRestInfo
impl Send for PhysicsServer2DExtensionShapeRestInfo
impl Sync for PhysicsServer2DExtensionShapeRestInfo
impl Unpin for PhysicsServer2DExtensionShapeRestInfo
impl UnwindSafe for PhysicsServer2DExtensionShapeRestInfo
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