pub struct AnimateBuilder { /* private fields */ }Implementations§
Source§impl AnimateBuilder
impl AnimateBuilder
pub fn opacity(self, range: Range<f32>) -> Self
pub fn translate(self, from: Vec2, to: Vec2) -> Self
pub fn translate_xy(self, from: (f32, f32), to: (f32, f32)) -> Self
pub fn translate_y(self, range: Range<f32>) -> Self
pub fn translate_x(self, range: Range<f32>) -> Self
pub fn duration(self, d: Duration) -> Self
pub fn delay(self, d: Duration) -> Self
pub fn ease(self, easing: Easing) -> Self
pub fn ease_out(self) -> Self
pub fn ease_in_out(self) -> Self
pub fn linear(self) -> Self
pub fn build(self) -> Animate
pub fn sample_at(&self, elapsed_secs: f32) -> AnimateFrame
Trait Implementations§
Source§impl Clone for AnimateBuilder
impl Clone for AnimateBuilder
Source§impl Debug for AnimateBuilder
impl Debug for AnimateBuilder
Source§impl From<AnimateBuilder> for Animate
impl From<AnimateBuilder> for Animate
Source§fn from(b: AnimateBuilder) -> Self
fn from(b: AnimateBuilder) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for AnimateBuilder
impl RefUnwindSafe for AnimateBuilder
impl Send for AnimateBuilder
impl Sync for AnimateBuilder
impl Unpin for AnimateBuilder
impl UnsafeUnpin for AnimateBuilder
impl UnwindSafe for AnimateBuilder
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