pub struct JointRotationLimits {
pub minimum_degrees: Vec3,
pub maximum_degrees: Vec3,
pub minimum_enabled: JointDegreesOfFreedom,
pub maximum_enabled: JointDegreesOfFreedom,
}Expand description
Optional per-axis rotation limits in degrees.
An axis is clamped only when the matching enabled flag is set; enabling
both bounds on an axis requires minimum <= maximum on it. Limits are
disabled by default even though JointDegreesOfFreedom::default is
all-enabled.
Donor: oa::JointRotationLimits.
Fields§
§minimum_degrees: Vec3§maximum_degrees: Vec3§minimum_enabled: JointDegreesOfFreedom§maximum_enabled: JointDegreesOfFreedomTrait Implementations§
Source§impl Clone for JointRotationLimits
impl Clone for JointRotationLimits
impl Copy for JointRotationLimits
Source§impl Debug for JointRotationLimits
impl Debug for JointRotationLimits
Source§impl Default for JointRotationLimits
impl Default for JointRotationLimits
Source§impl PartialEq for JointRotationLimits
impl PartialEq for JointRotationLimits
impl StructuralPartialEq for JointRotationLimits
Auto Trait Implementations§
impl Forget for JointRotationLimits
impl Freeze for JointRotationLimits
impl Move for JointRotationLimits
impl RefUnwindSafe for JointRotationLimits
impl Send for JointRotationLimits
impl Sync for JointRotationLimits
impl Unpin for JointRotationLimits
impl UnsafeUnpin for JointRotationLimits
impl UnwindSafe for JointRotationLimits
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