Enum rust_rocket::interpolation::Interpolation
[−]
[src]
pub enum Interpolation { Step, Linear, Smooth, Ramp, }
Variants
Step
Linear
Smooth
Ramp
Methods
impl Interpolation
[src]
fn interpolate(&self, t: f32) -> f32
Trait Implementations
impl Debug for Interpolation
[src]
impl From<u8> for Interpolation
[src]
fn from(raw: u8) -> Interpolation
Performs the conversion.