[][src]Struct tray_rust::film::animated_color::ColorKeyframe

pub struct ColorKeyframe {
    pub color: Colorf,
    pub time: f32,
}

ColorKeyframe is a color associated with a specific time

Fields

color: Colorftime: f32

Methods

impl ColorKeyframe[src]

pub fn new(color: &Colorf, time: f32) -> ColorKeyframe[src]

Trait Implementations

impl Clone for ColorKeyframe[src]

impl Copy for ColorKeyframe[src]

impl Eq for ColorKeyframe[src]

impl Ord for ColorKeyframe[src]

impl PartialEq<ColorKeyframe> for ColorKeyframe[src]

impl PartialOrd<ColorKeyframe> for ColorKeyframe[src]

impl Debug for ColorKeyframe[src]

Auto Trait Implementations

impl Send for ColorKeyframe

impl Sync for ColorKeyframe

impl Unpin for ColorKeyframe

impl UnwindSafe for ColorKeyframe

impl RefUnwindSafe for ColorKeyframe

Blanket Implementations

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

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

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<T> Borrow<T> for T where
    T: ?Sized
[src]

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

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

impl<T> SetParameter for T[src]