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
Immutable view into MjModel arrays for a key.
Fields§
§time: PointerView<'d, MjtNum>View of time.
qpos: PointerView<'d, MjtNum>View of qpos.
qvel: PointerView<'d, MjtNum>View of qvel.
act: PointerView<'d, MjtNum>View of act.
mpos: PointerView<'d, MjtNum>View of mpos.
mquat: PointerView<'d, MjtNum>View of mquat.
ctrl: PointerView<'d, MjtNum>View of ctrl.
Trait Implementations§
Auto Trait Implementations§
impl<'d> !Send for MjKeyModelView<'d>
impl<'d> !Sync for MjKeyModelView<'d>
impl<'d> Freeze for MjKeyModelView<'d>
impl<'d> RefUnwindSafe for MjKeyModelView<'d>
impl<'d> Unpin for MjKeyModelView<'d>
impl<'d> UnsafeUnpin 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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
Source§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
Convert
Box<dyn Trait> (where Trait: Downcast) to Box<dyn Any>. Box<dyn Any> can
then be further downcast into Box<ConcreteType> where ConcreteType implements Trait.Source§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.Source§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.Source§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.