Skip to main content

SignalLiveExt

Trait SignalLiveExt 

Source
pub trait SignalLiveExt<T>
where T: Clone + PartialEq + 'static,
{ // Required methods fn live(self) -> Live<T>; fn map_live<U>(&self, f: impl Fn(&T) -> U + 'static) -> Live<U> where U: Clone + PartialEq + 'static; fn animate(self, spec: impl Into<AnimSpec>) -> Live<T>; fn spring(self, spec: SpringSpec) -> Live<T>; }

Required Methods§

Source

fn live(self) -> Live<T>

Source

fn map_live<U>(&self, f: impl Fn(&T) -> U + 'static) -> Live<U>
where U: Clone + PartialEq + 'static,

Source

fn animate(self, spec: impl Into<AnimSpec>) -> Live<T>

Source

fn spring(self, spec: SpringSpec) -> Live<T>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementations on Foreign Types§

Source§

impl<T> SignalLiveExt<T> for Signal<T>
where T: Clone + PartialEq + 'static,

Source§

fn live(self) -> Live<T>

Source§

fn map_live<U>(&self, f: impl Fn(&T) -> U + 'static) -> Live<U>
where U: Clone + PartialEq + 'static,

Source§

fn animate(self, spec: impl Into<AnimSpec>) -> Live<T>

Source§

fn spring(self, spec: SpringSpec) -> Live<T>

Implementors§