pub struct Keyframe<T> {
pub t: f32,
pub s: Option<T>,
pub e: Option<T>,
pub i: Option<Vec2>,
pub o: Option<Vec2>,
pub to: Option<Vec<f32>>,
pub ti: Option<Vec<f32>>,
pub h: Option<u8>,
}Fields§
§t: f32§s: Option<T>§e: Option<T>§i: Option<Vec2>§o: Option<Vec2>§to: Option<Vec<f32>>§ti: Option<Vec<f32>>§h: Option<u8>Trait Implementations§
Source§impl<'de, T> Deserialize<'de> for Keyframe<T>where
T: DeserializeOwned,
impl<'de, T> Deserialize<'de> for Keyframe<T>where
T: DeserializeOwned,
Source§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
Auto Trait Implementations§
impl<T> Freeze for Keyframe<T>where
T: Freeze,
impl<T> RefUnwindSafe for Keyframe<T>where
T: RefUnwindSafe,
impl<T> Send for Keyframe<T>where
T: Send,
impl<T> Sync for Keyframe<T>where
T: Sync,
impl<T> Unpin for Keyframe<T>where
T: Unpin,
impl<T> UnwindSafe for Keyframe<T>where
T: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more