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