pub struct MjSensorModelView<'d> {Show 18 fields
pub cutoff: PointerView<'d, MjtNum>,
pub noise: PointerView<'d, MjtNum>,
pub delay: PointerView<'d, MjtNum>,
pub interval: PointerView<'d, MjtNum>,
pub user: PointerView<'d, MjtNum>,
pub datatype: PointerView<'d, MjtDataType>,
pub needstage: PointerView<'d, MjtStage>,
pub intprm: PointerView<'d, i32>,
pub type: PointerView<'d, MjtSensor>,
pub objid: PointerView<'d, i32>,
pub refid: PointerView<'d, i32>,
pub objtype: PointerView<'d, MjtObj>,
pub reftype: PointerView<'d, MjtObj>,
pub dim: PointerView<'d, i32>,
pub adr: PointerView<'d, i32>,
pub history: PointerView<'d, i32>,
pub historyadr: PointerView<'d, i32>,
pub plugin: PointerView<'d, i32>,
}Expand description
Immutable view into MjModel arrays for a sensor.
Fields§
§cutoff: PointerView<'d, MjtNum>View of cutoff.
noise: PointerView<'d, MjtNum>View of noise.
delay: PointerView<'d, MjtNum>View of delay.
interval: PointerView<'d, MjtNum>View of interval.
user: PointerView<'d, MjtNum>View of user.
datatype: PointerView<'d, MjtDataType>View of datatype.
needstage: PointerView<'d, MjtStage>View of needstage.
intprm: PointerView<'d, i32>View of intprm.
type: PointerView<'d, MjtSensor>View of r#type.
objid: PointerView<'d, i32>View of objid.
refid: PointerView<'d, i32>View of refid.
objtype: PointerView<'d, MjtObj>View of objtype.
reftype: PointerView<'d, MjtObj>View of reftype.
dim: PointerView<'d, i32>View of dim.
adr: PointerView<'d, i32>View of adr.
history: PointerView<'d, i32>View of history.
historyadr: PointerView<'d, i32>View of historyadr.
plugin: PointerView<'d, i32>View of plugin.
Trait Implementations§
Auto Trait Implementations§
impl<'d> !Send for MjSensorModelView<'d>
impl<'d> !Sync for MjSensorModelView<'d>
impl<'d> Freeze for MjSensorModelView<'d>
impl<'d> RefUnwindSafe for MjSensorModelView<'d>
impl<'d> Unpin for MjSensorModelView<'d>
impl<'d> UnsafeUnpin for MjSensorModelView<'d>
impl<'d> UnwindSafe for MjSensorModelView<'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.