Camera

Struct Camera 

Source
#[repr(C, packed(4))]
pub struct Camera {
Show 25 fields pub id: ID, pub adt: Pointer<AnimData>, pub type_: i8, pub dtx: i8, pub flag: i16, pub passepartalpha: f32, pub clipsta: f32, pub clipend: f32, pub lens: f32, pub ortho_scale: f32, pub drawsize: f32, pub sensor_x: f32, pub sensor_y: f32, pub shiftx: f32, pub shifty: f32, pub YF_dofdist: f32, pub ipo: Pointer<Ipo>, pub dof_ob: Pointer<Object>, pub gpu_dof: GPUDOFSettings, pub dof: CameraDOFSettings, pub bg_images: ListBase, pub sensor_fit: i8, pub _pad: [i8; 7], pub stereo: CameraStereoSettings, pub runtime: Camera_Runtime,
}

Fields§

§id: ID§adt: Pointer<AnimData>§type_: i8§dtx: i8§flag: i16§passepartalpha: f32§clipsta: f32§clipend: f32§lens: f32§ortho_scale: f32§drawsize: f32§sensor_x: f32§sensor_y: f32§shiftx: f32§shifty: f32§YF_dofdist: f32§ipo: Pointer<Ipo>§dof_ob: Pointer<Object>§gpu_dof: GPUDOFSettings§dof: CameraDOFSettings§bg_images: ListBase§sensor_fit: i8§_pad: [i8; 7]§stereo: CameraStereoSettings§runtime: Camera_Runtime

Trait Implementations§

Auto Trait Implementations§

§

impl Freeze for Camera

§

impl RefUnwindSafe for Camera

§

impl Send for Camera

§

impl Sync for Camera

§

impl Unpin for Camera

§

impl UnwindSafe for Camera

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.