MjCameraModelView

Struct MjCameraModelView 

Source
pub struct MjCameraModelView<'d> {
Show 14 fields pub mode: PointerView<'d, MjtCamLight>, pub bodyid: PointerView<'d, i32>, pub targetbodyid: PointerView<'d, i32>, 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 orthographic: PointerView<'d, bool>, pub fovy: PointerView<'d, MjtNum>, pub ipd: PointerView<'d, MjtNum>, pub resolution: PointerView<'d, i32>, pub sensorsize: PointerView<'d, f32>, pub intrinsic: PointerView<'d, f32>,
}
Expand description

An immutable view to camera variables of MjModel.

Fields§

§mode: PointerView<'d, MjtCamLight>§bodyid: PointerView<'d, i32>§targetbodyid: PointerView<'d, i32>§pos: PointerView<'d, MjtNum>§quat: PointerView<'d, MjtNum>§poscom0: PointerView<'d, MjtNum>§pos0: PointerView<'d, MjtNum>§mat0: PointerView<'d, MjtNum>§orthographic: PointerView<'d, bool>§fovy: PointerView<'d, MjtNum>§ipd: PointerView<'d, MjtNum>§resolution: PointerView<'d, i32>§sensorsize: PointerView<'d, f32>§intrinsic: PointerView<'d, f32>

Auto Trait Implementations§

§

impl<'d> Freeze for MjCameraModelView<'d>

§

impl<'d> RefUnwindSafe for MjCameraModelView<'d>

§

impl<'d> !Send for MjCameraModelView<'d>

§

impl<'d> !Sync for MjCameraModelView<'d>

§

impl<'d> Unpin for MjCameraModelView<'d>

§

impl<'d> UnwindSafe for MjCameraModelView<'d>

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.