pub struct ShapeType(pub i64);
Tuple Fields§
§0: i64
Implementations§
Source§impl ShapeType
impl ShapeType
pub const PLANE: ShapeType
pub const RAY: ShapeType
pub const SPHERE: ShapeType
pub const BOX: ShapeType
pub const CAPSULE: ShapeType
pub const CYLINDER: ShapeType
pub const CONVEX_POLYGON: ShapeType
pub const CONCAVE_POLYGON: ShapeType
pub const HEIGHTMAP: ShapeType
pub const CUSTOM: ShapeType
Trait Implementations§
Source§impl FromVariant for ShapeType
impl FromVariant for ShapeType
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Ord for ShapeType
impl Ord for ShapeType
Source§impl PartialOrd for ShapeType
impl PartialOrd for ShapeType
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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.