pub fn as_fixed_joint(&self) -> Option<&FixedJoint> {
        if let JointParams::FixedJoint(j) = self {
            Some(j)
        } else {
            None
        }
    }
/// Gets a reference to the underlying fixed joint, if `self` is one.
Gets a reference to the underlying fixed joint, if `self` is one.
Gets a reference to the underlying fixed joint if ` self ` is one .
pub fn as_fixed_joint(&self) -> Option<&FixedJoint> {
        if let JointParams::FixedJoint(j) = self {
            Some(j)
        } else {
            None
        }
    }
pub fn as_fixed_joint ( & self ) -> Option < & FixedJoint > { if let JointParams :: FixedJoint ( j ) = self { Some ( j ) } else { None } }
Gets a reference to the underlying fixed joint, if `self` is one.
Gets a reference to the underlying fixed joint if ` self ` is one .
&self