pub struct MjCameraModelView<'d> {Show 16 fields
pub mode: PointerView<'d, MjtCamLight>,
pub pos: PointerView<'d, MjtNum>,
pub quat: PointerView<'d, MjtNum>,
pub poscom0: PointerView<'d, MjtNum>,
pub pos0: PointerView<'d, MjtNum>,
pub mat0: PointerView<'d, MjtNum>,
pub projection: PointerView<'d, MjtProjection>,
pub fovy: PointerView<'d, MjtNum>,
pub ipd: PointerView<'d, MjtNum>,
pub output: PointerView<'d, i32>,
pub sensorsize: PointerView<'d, f32>,
pub intrinsic: PointerView<'d, f32>,
pub user: PointerView<'d, MjtNum>,
pub bodyid: PointerView<'d, i32>,
pub targetbodyid: PointerView<'d, i32>,
pub resolution: PointerView<'d, i32>,
}Expand description
Immutable view into MjModel arrays for a camera.
Fields§
§mode: PointerView<'d, MjtCamLight>View of mode.
pos: PointerView<'d, MjtNum>View of pos.
quat: PointerView<'d, MjtNum>View of quat.
poscom0: PointerView<'d, MjtNum>View of poscom0.
pos0: PointerView<'d, MjtNum>View of pos0.
mat0: PointerView<'d, MjtNum>View of mat0.
projection: PointerView<'d, MjtProjection>View of projection.
fovy: PointerView<'d, MjtNum>View of fovy.
ipd: PointerView<'d, MjtNum>View of ipd.
output: PointerView<'d, i32>View of output.
sensorsize: PointerView<'d, f32>View of sensorsize.
intrinsic: PointerView<'d, f32>View of intrinsic.
user: PointerView<'d, MjtNum>View of user.
bodyid: PointerView<'d, i32>View of bodyid.
targetbodyid: PointerView<'d, i32>View of targetbodyid.
resolution: PointerView<'d, i32>View of resolution.
Trait Implementations§
Auto Trait Implementations§
impl<'d> !Send for MjCameraModelView<'d>
impl<'d> !Sync for MjCameraModelView<'d>
impl<'d> Freeze for MjCameraModelView<'d>
impl<'d> RefUnwindSafe for MjCameraModelView<'d>
impl<'d> Unpin for MjCameraModelView<'d>
impl<'d> UnsafeUnpin for MjCameraModelView<'d>
impl<'d> UnwindSafe for MjCameraModelView<'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.