Enum rin_scene::physics::rigidbody::RigidBodyShape [−][src]
#[repr(u16)] pub enum RigidBodyShape { Cuboid, Sphere, Capsule, Cylinder, Cone, ConvexHull, Mesh, }
Variants
Trait Implementations
impl Clone for RigidBodyShape
[src]
impl Clone for RigidBodyShape
[src]fn clone(&self) -> RigidBodyShape
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'de> Deserialize<'de> for RigidBodyShape
[src]
impl<'de> Deserialize<'de> for RigidBodyShape
[src]fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl Serialize for RigidBodyShape
[src]
impl Serialize for RigidBodyShape
[src]impl Copy for RigidBodyShape
[src]
Auto Trait Implementations
impl RefUnwindSafe for RigidBodyShape
impl Send for RigidBodyShape
impl Sync for RigidBodyShape
impl Unpin for RigidBodyShape
impl UnwindSafe for RigidBodyShape
Blanket Implementations
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]
impl<T> DowncastSync for T where
T: Any + Send + Sync,
[src]impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]
impl<T> Serialize for T where
T: Serialize + ?Sized,
[src]pub fn erased_serialize(
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
[src]
&self,
serializer: &mut dyn Serializer
) -> Result<Ok, Error>
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> Slottable for T where
T: Copy,
[src]
T: Copy,