#[repr(C)]pub struct b3MotionLocks {
pub linearX: bool,
pub linearY: bool,
pub linearZ: bool,
pub angularX: bool,
pub angularY: bool,
pub angularZ: bool,
}Expand description
Motion locks to restrict the body movement @ingroup body
Fields§
§linearX: boolPrevent translation along the x-axis
linearY: boolPrevent translation along the y-axis
linearZ: boolPrevent translation along the z-axis
angularX: boolPrevent rotation around the x-axis
angularY: boolPrevent rotation around the y-axis
angularZ: boolPrevent rotation around the z-axis
Trait Implementations§
Source§impl Clone for b3MotionLocks
impl Clone for b3MotionLocks
Source§fn clone(&self) -> b3MotionLocks
fn clone(&self) -> b3MotionLocks
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 b3MotionLocks
Auto Trait Implementations§
impl Freeze for b3MotionLocks
impl RefUnwindSafe for b3MotionLocks
impl Send for b3MotionLocks
impl Sync for b3MotionLocks
impl Unpin for b3MotionLocks
impl UnsafeUnpin for b3MotionLocks
impl UnwindSafe for b3MotionLocks
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