pub struct MotionLocks {
pub linear_x: bool,
pub linear_y: bool,
pub linear_z: bool,
pub angular_x: bool,
pub angular_y: bool,
pub angular_z: bool,
}Expand description
Motion locks to restrict the body movement. (b3MotionLocks)
Fields§
§linear_x: boolPrevent translation along the x-axis
linear_y: boolPrevent translation along the y-axis
linear_z: boolPrevent translation along the z-axis
angular_x: boolPrevent rotation around the x-axis
angular_y: boolPrevent rotation around the y-axis
angular_z: boolPrevent rotation around the z-axis
Trait Implementations§
Source§impl Clone for MotionLocks
impl Clone for MotionLocks
Source§fn clone(&self) -> MotionLocks
fn clone(&self) -> MotionLocks
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for MotionLocks
Source§impl Debug for MotionLocks
impl Debug for MotionLocks
Source§impl Default for MotionLocks
impl Default for MotionLocks
Source§fn default() -> MotionLocks
fn default() -> MotionLocks
Returns the “default value” for a type. Read more
impl Eq for MotionLocks
Source§impl PartialEq for MotionLocks
impl PartialEq for MotionLocks
impl StructuralPartialEq for MotionLocks
Auto Trait Implementations§
impl Freeze for MotionLocks
impl RefUnwindSafe for MotionLocks
impl Send for MotionLocks
impl Sync for MotionLocks
impl Unpin for MotionLocks
impl UnsafeUnpin for MotionLocks
impl UnwindSafe for MotionLocks
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