#[repr(u32)]pub enum PhysicsServerShapeType {
ShapePlane = 0,
ShapeRay = 1,
ShapeSphere = 2,
ShapeBox = 3,
ShapeCapsule = 4,
ShapeCylinder = 5,
ShapeConvexPolygon = 6,
ShapeConcavePolygon = 7,
ShapeHeightmap = 8,
ShapeCustom = 9,
}Variants§
ShapePlane = 0
ShapeRay = 1
ShapeSphere = 2
ShapeBox = 3
ShapeCapsule = 4
ShapeCylinder = 5
ShapeConvexPolygon = 6
ShapeConcavePolygon = 7
ShapeHeightmap = 8
ShapeCustom = 9
Trait Implementations§
Source§impl Clone for PhysicsServerShapeType
impl Clone for PhysicsServerShapeType
Source§fn clone(&self) -> PhysicsServerShapeType
fn clone(&self) -> PhysicsServerShapeType
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PhysicsServerShapeType
Source§impl Debug for PhysicsServerShapeType
impl Debug for PhysicsServerShapeType
impl Eq for PhysicsServerShapeType
Source§impl Hash for PhysicsServerShapeType
impl Hash for PhysicsServerShapeType
Source§impl PartialEq for PhysicsServerShapeType
impl PartialEq for PhysicsServerShapeType
Source§fn eq(&self, other: &PhysicsServerShapeType) -> bool
fn eq(&self, other: &PhysicsServerShapeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for PhysicsServerShapeType
Auto Trait Implementations§
impl Freeze for PhysicsServerShapeType
impl RefUnwindSafe for PhysicsServerShapeType
impl Send for PhysicsServerShapeType
impl Sync for PhysicsServerShapeType
impl Unpin for PhysicsServerShapeType
impl UnsafeUnpin for PhysicsServerShapeType
impl UnwindSafe for PhysicsServerShapeType
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