#[repr(i32)]pub enum PolygonShape {
Convex = 2,
NonConvex = 1,
Complex = 0,
}
Expand description
The shape of a polygon.
Variants§
Trait Implementations§
Source§impl Clone for PolygonShape
impl Clone for PolygonShape
Source§fn clone(&self) -> PolygonShape
fn clone(&self) -> PolygonShape
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 moreSource§impl Debug for PolygonShape
impl Debug for PolygonShape
Source§impl PartialEq for PolygonShape
impl PartialEq for PolygonShape
impl Copy for PolygonShape
impl Eq for PolygonShape
impl StructuralPartialEq for PolygonShape
Auto Trait Implementations§
impl Freeze for PolygonShape
impl RefUnwindSafe for PolygonShape
impl Send for PolygonShape
impl Sync for PolygonShape
impl Unpin for PolygonShape
impl UnwindSafe for PolygonShape
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