Struct gdnative_bindings::physics_server::ShapeType
source · 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 PartialEq<ShapeType> for ShapeType
impl PartialEq<ShapeType> for ShapeType
source§impl PartialOrd<ShapeType> for ShapeType
impl PartialOrd<ShapeType> for ShapeType
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ShapeType
impl Eq for ShapeType
impl StructuralEq for ShapeType
impl StructuralPartialEq for ShapeType
Auto Trait Implementations§
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnwindSafe for ShapeType
Blanket Implementations§
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.