pub struct Key {
pub frame: f64,
pub value: f64,
pub left_slope: f64,
pub right_slope: f64,
pub interp: Interp,
pub tag: Option<String>,
}Expand description
One key of a curve.
Fields§
§frame: f64Motion ticks.
value: f64The value at the key.
left_slope: f64Slope on the left of the key (0 in every file seen).
right_slope: f64Slope on the right of the key (0 in every file seen).
interp: InterpHow the value moves to the next key.
tag: Option<String>Cel curves: the cel’s layer name.
Trait Implementations§
impl StructuralPartialEq for Key
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnsafeUnpin for Key
impl UnwindSafe for Key
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