pub struct Animation {Show 16 fields
pub property: Cow<'static, str>,
pub is_raw_property: bool,
pub from: Cow<'static, str>,
pub to: Cow<'static, str>,
pub delay: u64,
pub dir: AnimationDirection,
pub dur: u64,
pub easing: Easing,
pub elasticity: u32,
pub looping: AnimationLoop,
pub round: bool,
pub start_events: List<Cow<'static, str>>,
pub pause_events: List<Cow<'static, str>>,
pub resume_events: List<Cow<'static, str>>,
pub autoplay: Autoplay,
pub enabled: bool,
}Expand description
Fields§
§property: Cow<'static, str>§is_raw_property: bool§from: Cow<'static, str>§to: Cow<'static, str>§delay: u64§dir: AnimationDirection§dur: u64§easing: Easing§elasticity: u32§looping: AnimationLoop§round: bool§start_events: List<Cow<'static, str>>§pause_events: List<Cow<'static, str>>§resume_events: List<Cow<'static, str>>§autoplay: Autoplay§enabled: boolTrait Implementations§
impl StructuralPartialEq for Animation
Auto Trait Implementations§
impl Freeze for Animation
impl RefUnwindSafe for Animation
impl Send for Animation
impl Sync for Animation
impl Unpin for Animation
impl UnwindSafe for Animation
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoPropValue<Option<T>> for T
impl<T> IntoPropValue<Option<T>> for T
Source§fn into_prop_value(self) -> Option<T>
fn into_prop_value(self) -> Option<T>
Convert
self to a value of a Properties struct.Source§impl<T> IntoPropValue<T> for T
impl<T> IntoPropValue<T> for T
Source§fn into_prop_value(self) -> T
fn into_prop_value(self) -> T
Convert
self to a value of a Properties struct.