pub trait SignalVecSpawn<A> {
// Required method
fn spawn_local<F>(self, f: F)
where F: Fn(VecDiff<A>) + 'static;
// Provided methods
fn feed_local(self, target: MutableVec<A>)
where Self: Sized,
A: Copy + 'static { ... }
fn feed_local_cloned(self, target: MutableVec<A>)
where Self: Sized,
A: Clone + 'static { ... }
}Required Methods§
fn spawn_local<F>(self, f: F)
Provided Methods§
fn feed_local(self, target: MutableVec<A>)
fn feed_local_cloned(self, target: MutableVec<A>)
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.