Skip to main content

TweenStoreExt

Trait TweenStoreExt 

Source
pub trait TweenStoreExt<__Lens> {
    // Required methods
    fn duration(
        self,
    ) -> Store<Duration, MappedMutSignal<Duration, __Lens, fn(&Tween) -> &Duration, fn(&mut Tween) -> &mut Duration>>;
    fn easing(
        self,
    ) -> Store<fn(f32, f32, f32, f32) -> f32, MappedMutSignal<fn(f32, f32, f32, f32) -> f32, __Lens, fn(&Tween) -> &fn(f32, f32, f32, f32) -> f32, fn(&mut Tween) -> &mut fn(f32, f32, f32, f32) -> f32>>;
    fn transpose(self) -> TweenStoreTransposed<__Lens>
       where Self: Copy;
}

Required Methods§

Source

fn duration( self, ) -> Store<Duration, MappedMutSignal<Duration, __Lens, fn(&Tween) -> &Duration, fn(&mut Tween) -> &mut Duration>>

Source

fn easing( self, ) -> Store<fn(f32, f32, f32, f32) -> f32, MappedMutSignal<fn(f32, f32, f32, f32) -> f32, __Lens, fn(&Tween) -> &fn(f32, f32, f32, f32) -> f32, fn(&mut Tween) -> &mut fn(f32, f32, f32, f32) -> f32>>

Source

fn transpose(self) -> TweenStoreTransposed<__Lens>
where Self: Copy,

Implementations on Foreign Types§

Source§

impl<__Lens> TweenStoreExt<__Lens> for Store<Tween, __Lens>

Source§

fn duration( self, ) -> Store<Duration, MappedMutSignal<Duration, __Lens, fn(&Tween) -> &Duration, fn(&mut Tween) -> &mut Duration>>

Source§

fn easing( self, ) -> Store<fn(f32, f32, f32, f32) -> f32, MappedMutSignal<fn(f32, f32, f32, f32) -> f32, __Lens, fn(&Tween) -> &fn(f32, f32, f32, f32) -> f32, fn(&mut Tween) -> &mut fn(f32, f32, f32, f32) -> f32>>

Source§

fn transpose(self) -> TweenStoreTransposed<__Lens>
where Self: Copy,

Implementors§