#[repr(u32)]pub enum Physics2DServerShapeType {
ShapeLine = 0,
ShapeRay = 1,
ShapeSegment = 2,
ShapeCircle = 3,
ShapeRectangle = 4,
ShapeCapsule = 5,
ShapeConvexPolygon = 6,
ShapeConcavePolygon = 7,
ShapeCustom = 8,
}Variants§
ShapeLine = 0
ShapeRay = 1
ShapeSegment = 2
ShapeCircle = 3
ShapeRectangle = 4
ShapeCapsule = 5
ShapeConvexPolygon = 6
ShapeConcavePolygon = 7
ShapeCustom = 8
Trait Implementations§
Source§impl Clone for Physics2DServerShapeType
impl Clone for Physics2DServerShapeType
Source§fn clone(&self) -> Physics2DServerShapeType
fn clone(&self) -> Physics2DServerShapeType
Returns a duplicate 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 moreSource§impl Debug for Physics2DServerShapeType
impl Debug for Physics2DServerShapeType
Source§impl Hash for Physics2DServerShapeType
impl Hash for Physics2DServerShapeType
Source§impl PartialEq for Physics2DServerShapeType
impl PartialEq for Physics2DServerShapeType
impl Copy for Physics2DServerShapeType
impl Eq for Physics2DServerShapeType
impl StructuralPartialEq for Physics2DServerShapeType
Auto Trait Implementations§
impl Freeze for Physics2DServerShapeType
impl RefUnwindSafe for Physics2DServerShapeType
impl Send for Physics2DServerShapeType
impl Sync for Physics2DServerShapeType
impl Unpin for Physics2DServerShapeType
impl UnwindSafe for Physics2DServerShapeType
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