Struct ray_tracing_utility::serialization::core::CameraLookAt[][src]

pub struct CameraLookAt {
    pub id: IdConstructor,
    pub look_from: Value,
    pub look_at: Value,
    pub vup: Value,
    pub v_fov: Value,
    pub aspect: Value,
    pub adepture: Value,
    pub focus_dist: Value,
    pub time_from: Value,
    pub time_to: Value,
}

Fields

id: IdConstructorlook_from: Valuelook_at: Valuevup: Valuev_fov: Valueaspect: Valueadepture: Valuefocus_dist: Valuetime_from: Valuetime_to: Value

Implementations

impl CameraLookAt[src]

pub fn to_camera(&self, index: usize) -> Result<Camera, Box<dyn Error>>[src]

Trait Implementations

impl Clone for CameraLookAt[src]

impl Debug for CameraLookAt[src]

impl<'de> Deserialize<'de> for CameraLookAt[src]

impl PartialEq<CameraLookAt> for CameraLookAt[src]

impl Serialize for CameraLookAt[src]

impl StructuralPartialEq for CameraLookAt[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,