Struct libhelium::builders::TimedAnimationBuilder
source · pub struct TimedAnimationBuilder { /* private fields */ }Expand description
A builder-pattern type to construct TimedAnimation objects.
Implementations§
source§impl TimedAnimationBuilder
impl TimedAnimationBuilder
pub fn value_from(self, value_from: f64) -> Self
pub fn value_to(self, value_to: f64) -> Self
pub fn duration(self, duration: u32) -> Self
pub fn easing(self, easing: Easing) -> Self
pub fn repeat_count(self, repeat_count: u32) -> Self
pub fn reverse(self, reverse: bool) -> Self
pub fn alternate(self, alternate: bool) -> Self
pub fn state(self, state: AnimationState) -> Self
pub fn target(self, target: &impl IsA<AnimationTarget>) -> Self
pub fn widget(self, widget: &impl IsA<Widget>) -> Self
pub fn avalue(self, avalue: f64) -> Self
sourcepub fn build(self) -> TimedAnimation
pub fn build(self) -> TimedAnimation
Build the TimedAnimation.
Auto Trait Implementations§
impl Freeze for TimedAnimationBuilder
impl RefUnwindSafe for TimedAnimationBuilder
impl !Send for TimedAnimationBuilder
impl !Sync for TimedAnimationBuilder
impl Unpin for TimedAnimationBuilder
impl UnwindSafe for TimedAnimationBuilder
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