Struct Tween

Source
pub struct Tween {}

Implementations§

Source§

impl Tween

Source

pub fn get_id() -> usize

Source

pub fn is_playing() -> bool

Source

pub fn is_paused() -> bool

Source

pub fn to() -> bool

Source

pub fn duration() -> bool

Source

pub fn start() -> bool

Source

pub fn stop() -> bool

Source

pub fn end() -> bool

Source

pub fn pause() -> bool

Source

pub fn resume() -> bool

Source

pub fn stop_chained_tweens() -> bool

Source

pub fn group() -> bool

Source

pub fn delay() -> bool

Source

pub fn repeat() -> bool

Source

pub fn repeat_delay() -> bool

Source

pub fn yoyo() -> bool

Source

pub fn easing() -> bool

Source

pub fn interpolation() -> bool

Source

pub fn chain() -> bool

Source

pub fn on_start() -> bool

Source

pub fn on_update() -> bool

Source

pub fn on_repeat() -> bool

Source

pub fn on_complete() -> bool

Source

pub fn on_stop() -> bool

Source

pub fn update() -> bool

Auto Trait Implementations§

§

impl Freeze for Tween

§

impl RefUnwindSafe for Tween

§

impl Send for Tween

§

impl Sync for Tween

§

impl Unpin for Tween

§

impl UnwindSafe for Tween

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<Fr, To> IntoColor<To> for Fr
where To: FromColor<Fr>,

Source§

fn into_color(self) -> To

Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V