pub struct MjKeyModelView<'d> {
pub time: PointerView<'d, MjtNum>,
pub qpos: PointerView<'d, MjtNum>,
pub qvel: PointerView<'d, MjtNum>,
pub act: PointerView<'d, MjtNum>,
pub mpos: PointerView<'d, MjtNum>,
pub mquat: PointerView<'d, MjtNum>,
pub ctrl: PointerView<'d, MjtNum>,
}
Expand description
An immutable view to key variables of MjModel
.
Fields§
§time: PointerView<'d, MjtNum>
§qpos: PointerView<'d, MjtNum>
§qvel: PointerView<'d, MjtNum>
§act: PointerView<'d, MjtNum>
§mpos: PointerView<'d, MjtNum>
§mquat: PointerView<'d, MjtNum>
§ctrl: PointerView<'d, MjtNum>
Auto Trait Implementations§
impl<'d> Freeze for MjKeyModelView<'d>
impl<'d> RefUnwindSafe for MjKeyModelView<'d>
impl<'d> !Send for MjKeyModelView<'d>
impl<'d> !Sync for MjKeyModelView<'d>
impl<'d> Unpin for MjKeyModelView<'d>
impl<'d> UnwindSafe for MjKeyModelView<'d>
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