pub struct SeekAnimationsBuilder { /* private fields */ }Expand description
Builder for SeekAnimations.
Implementations§
Source§impl SeekAnimationsBuilder
impl SeekAnimationsBuilder
Sourcepub fn animations<VALUE: Into<Vec<String>>>(
&mut self,
value: VALUE,
) -> &mut Self
pub fn animations<VALUE: Into<Vec<String>>>( &mut self, value: VALUE, ) -> &mut Self
List of animation ids to seek.
Sourcepub fn current_time<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
pub fn current_time<VALUE: Into<JsFloat>>(&mut self, value: VALUE) -> &mut Self
Set the current time of each animation.
Sourcepub fn build(&self) -> Result<SeekAnimations, SeekAnimationsBuilderError>
pub fn build(&self) -> Result<SeekAnimations, SeekAnimationsBuilderError>
Trait Implementations§
Source§impl Clone for SeekAnimationsBuilder
impl Clone for SeekAnimationsBuilder
Source§fn clone(&self) -> SeekAnimationsBuilder
fn clone(&self) -> SeekAnimationsBuilder
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SeekAnimationsBuilder
impl RefUnwindSafe for SeekAnimationsBuilder
impl Send for SeekAnimationsBuilder
impl Sync for SeekAnimationsBuilder
impl Unpin for SeekAnimationsBuilder
impl UnsafeUnpin for SeekAnimationsBuilder
impl UnwindSafe for SeekAnimationsBuilder
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