pub struct AnimationBuilder<'a> { /* private fields */ }Implementations§
Source§impl<'a> AnimationBuilder<'a>
impl<'a> AnimationBuilder<'a>
Sourcepub fn source(self, source: AnimationEffect<'a>) -> Self
pub fn source(self, source: AnimationEffect<'a>) -> Self
‘Animation’’s source animation node.
Sourcepub fn cssId(self, cssId: impl Into<Cow<'a, str>>) -> Self
pub fn cssId(self, cssId: impl Into<Cow<'a, str>>) -> Self
A unique ID for ‘Animation’ representing the sources that triggered this CSS animation/transition.
Sourcepub fn viewOrScrollTimeline(
self,
viewOrScrollTimeline: ViewOrScrollTimeline,
) -> Self
pub fn viewOrScrollTimeline( self, viewOrScrollTimeline: ViewOrScrollTimeline, ) -> Self
View or scroll timeline
pub fn build(self) -> Animation<'a>
Auto Trait Implementations§
impl<'a> Freeze for AnimationBuilder<'a>
impl<'a> RefUnwindSafe for AnimationBuilder<'a>
impl<'a> Send for AnimationBuilder<'a>
impl<'a> Sync for AnimationBuilder<'a>
impl<'a> Unpin for AnimationBuilder<'a>
impl<'a> UnsafeUnpin for AnimationBuilder<'a>
impl<'a> UnwindSafe for AnimationBuilder<'a>
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