pub struct JointAngleLimits2D {
pub m_LowerAngle: f32,
pub m_UpperAngle: f32,
}Expand description
JointAngleLimits2D is a sub class of the Unity engine since version 5.0.0f4. Exert from Unity’s scripting documentation: Angular limits on the rotation of a Rigidbody2D object around a HingeJoint2D. See Also: Rigidbody2D class, HingeJoint2D class.
Fields§
§m_LowerAngle: f32§m_UpperAngle: f32Trait Implementations§
Source§impl Debug for JointAngleLimits2D
impl Debug for JointAngleLimits2D
Source§impl<'de> Deserialize<'de> for JointAngleLimits2D
impl<'de> Deserialize<'de> for JointAngleLimits2D
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for JointAngleLimits2D
impl RefUnwindSafe for JointAngleLimits2D
impl Send for JointAngleLimits2D
impl Sync for JointAngleLimits2D
impl Unpin for JointAngleLimits2D
impl UnwindSafe for JointAngleLimits2D
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more