Struct oxygengine_animation::animation::Interpolation [−][src]
pub struct Interpolation<T> where
T: Default + Clone + Curved, { pub from: T, pub to: T, pub time_phase: Phase, pub playing: bool, pub looped: bool, // some fields omitted }
Fields
from: Tto: Ttime_phase: Phaseplaying: boollooped: boolImplementations
Trait Implementations
Returns the “default value” for a type. Read more
impl<'de, T> Deserialize<'de> for Interpolation<T> where
T: Default + Clone + Curved,
T: Serialize + DeserializeOwned,
impl<'de, T> Deserialize<'de> for Interpolation<T> where
T: Default + Clone + Curved,
T: Serialize + DeserializeOwned, fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, Deserialize this value from the given Serde deserializer. Read more
impl<T> Serialize for Interpolation<T> where
T: Default + Clone + Curved,
T: Serialize + DeserializeOwned,
impl<T> Serialize for Interpolation<T> where
T: Default + Clone + Curved,
T: Serialize + DeserializeOwned, Auto Trait Implementations
impl<T> RefUnwindSafe for Interpolation<T> where
T: RefUnwindSafe, impl<T> Send for Interpolation<T> where
T: Send, impl<T> Sync for Interpolation<T> where
T: Sync, impl<T> Unpin for Interpolation<T> where
T: Unpin, impl<T> UnwindSafe for Interpolation<T> where
T: UnwindSafe, Blanket Implementations
Mutably borrows from an owned value. Read more