pub struct KeyframeFormat {
pub duration: usize,
pub ref_: Option<String>,
pub loc: Option<Vec<f32>>,
pub scale: Option<Vec<f32>>,
pub skew: Option<Vec<f32>>,
pub pivot: Option<Vec<f32>>,
pub alpha: Option<f32>,
pub label: Option<String>,
pub visible: Option<bool>,
pub tweened: Option<bool>,
pub ease: Option<f32>,
}
Fields
duration: usize
ref_: Option<String>
loc: Option<Vec<f32>>
scale: Option<Vec<f32>>
skew: Option<Vec<f32>>
pivot: Option<Vec<f32>>
alpha: Option<f32>
label: Option<String>
visible: Option<bool>
tweened: Option<bool>
ease: Option<f32>
Trait Implementations
sourceimpl Clone for KeyframeFormat
impl Clone for KeyframeFormat
sourcefn clone(&self) -> KeyframeFormat
fn clone(&self) -> KeyframeFormat
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for KeyframeFormat
impl Debug for KeyframeFormat
sourceimpl Default for KeyframeFormat
impl Default for KeyframeFormat
sourcefn default() -> KeyframeFormat
fn default() -> KeyframeFormat
Returns the “default value” for a type. Read more
Auto Trait Implementations
impl RefUnwindSafe for KeyframeFormat
impl Send for KeyframeFormat
impl Sync for KeyframeFormat
impl Unpin for KeyframeFormat
impl UnwindSafe for KeyframeFormat
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
sourcefn into_color(self) -> To
fn into_color(self) -> To
Convert into color
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Result where
T: Parameter<Self>,
Sets value
as a parameter of self
.