#[repr(C)]pub struct mjsCamera_ {Show 18 fields
pub element: *mut mjsElement,
pub pos: [f64; 3],
pub quat: [f64; 4],
pub alt: mjsOrientation,
pub mode: mjtCamLight,
pub targetbody: *mut mjString,
pub orthographic: c_int,
pub fovy: f64,
pub ipd: f64,
pub intrinsic: [f32; 4],
pub sensor_size: [f32; 2],
pub resolution: [f32; 2],
pub focal_length: [f32; 2],
pub focal_pixel: [f32; 2],
pub principal_length: [f32; 2],
pub principal_pixel: [f32; 2],
pub userdata: *mut mjDoubleVec,
pub info: *mut mjString,
}Fields§
§element: *mut mjsElement§pos: [f64; 3]§quat: [f64; 4]§alt: mjsOrientation§mode: mjtCamLight§targetbody: *mut mjString§orthographic: c_int§fovy: f64§ipd: f64§intrinsic: [f32; 4]§sensor_size: [f32; 2]§resolution: [f32; 2]§focal_length: [f32; 2]§focal_pixel: [f32; 2]§principal_length: [f32; 2]§principal_pixel: [f32; 2]§userdata: *mut mjDoubleVec§info: *mut mjStringTrait Implementations§
Source§impl Clone for mjsCamera_
impl Clone for mjsCamera_
Source§fn clone(&self) -> mjsCamera_
fn clone(&self) -> mjsCamera_
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for mjsCamera_
impl RefUnwindSafe for mjsCamera_
impl !Send for mjsCamera_
impl !Sync for mjsCamera_
impl Unpin for mjsCamera_
impl UnwindSafe for mjsCamera_
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