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