pub struct Keyframe {
pub offset: f32,
pub easing: Option<Easing>,
pub style: Rc<StyleRefinement>,
pub dynamic: Option<Rc<Decls>>,
pub custom: Option<Rc<Decls>>,
}Fields§
§offset: f32§easing: Option<Easing>§style: Rc<StyleRefinement>§dynamic: Option<Rc<Decls>>var()-composed declarations: the block is document-scoped but custom properties are per
element, so they are substituted by Engine::keyframes_for when a run starts.
custom: Option<Rc<Decls>>Auto Trait Implementations§
impl !RefUnwindSafe for Keyframe
impl !Send for Keyframe
impl !Sync for Keyframe
impl !UnwindSafe for Keyframe
impl Forget for Keyframe
impl Freeze for Keyframe
impl Move for Keyframe
impl Unpin for Keyframe
impl UnsafeUnpin for Keyframe
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> ErasedDestructor for Twhere
T: 'static,
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more