pub fn as_rigid_dynamic(&mut self) -> Option<&mut RigidDynamic<D, H, M>> {
        match self.get_concrete_type() {
            crate::base::ConcreteType::RigidDynamic => unsafe {
                Some(&mut *(self.obj as *mut RigidDynamic<D, H, M>))
            },
            _ => None,
        }
    }
/// Tries to cast to RigidDynamic.
Tries to cast to RigidDynamic.
Tries to cast to RigidDynamic .
pub fn as_rigid_dynamic(&mut self) -> Option<&mut RigidDynamic<D, H, M>> {
        match self.get_concrete_type() {
            crate::base::ConcreteType::RigidDynamic => unsafe {
                Some(&mut *(self.obj as *mut RigidDynamic<D, H, M>))
            },
            _ => None,
        }
    }
pub fn as_rigid_dynamic ( & mut self ) -> Option < & mut RigidDynamic < D , H , M > > { match self . get_concrete_type ( ) { crate :: base :: ConcreteType :: RigidDynamic => unsafe { Some ( & mut * ( self . obj as * mut RigidDynamic < D , H , M > ) ) } , _ => None , } }
Tries to cast to RigidDynamic.
Tries to cast to RigidDynamic .
&mut self