[][src]Enum brawllib_rs::chr0::Keyframe

pub enum Keyframe {
    Fixed(f32),
    Interpolated4(Interpolated4Header),
    Interpolated6(Interpolated6Header),
    Interpolated12(Interpolated12Header),
    Linear1(Linear1Header),
    Linear2(Linear2Header),
    Linear4(Vec<f32>),
}

Variants

Fixed(f32)Interpolated4(Interpolated4Header)Interpolated6(Interpolated6Header)Interpolated12(Interpolated12Header)Linear1(Linear1Header)Linear2(Linear2Header)Linear4(Vec<f32>)

Methods

impl Keyframe[src]

pub fn get_value(&self, loop_value: bool, frame: i32) -> f32[src]

Trait Implementations

impl Debug for Keyframe[src]

Auto Trait Implementations

impl Send for Keyframe

impl Sync for Keyframe

Blanket Implementations

impl<T> From for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

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

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

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

The type returned in the event of a conversion error.