pub enum ShapeType {
Circle,
Capsule,
Segment,
Polygon,
ChainSegment,
}Expand description
Shape type. (types.h: b2ShapeType)
Variants§
Circle
A circle with an offset
Capsule
A capsule is an extruded circle
Segment
A line segment
Polygon
A convex polygon
ChainSegment
A line segment owned by a chain shape
Trait Implementations§
impl Copy for ShapeType
impl Eq for ShapeType
impl StructuralPartialEq for ShapeType
Auto Trait Implementations§
impl Freeze for ShapeType
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnsafeUnpin for ShapeType
impl UnwindSafe for ShapeType
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