ToAnySource

Trait ToAnySource 

Source
pub trait ToAnySource: IsDisposed {
    // Required method
    fn to_any_source(&self) -> AnySource;
}
Expand description

Abstracts over the type of any reactive source.

Required Methods§

Source

fn to_any_source(&self) -> AnySource

Converts this type to its type-erased equivalent.

Implementors§

Source§

impl ToAnySource for AnySource

Source§

impl<T, S> ToAnySource for AsyncDerived<T, S>
where T: 'static, S: Storage<ArcAsyncDerived<T>>,

Source§

impl<T: 'static> ToAnySource for ArcAsyncDerived<T>

Source§

impl<T: 'static, S> ToAnySource for ArcMemo<T, S>
where S: Storage<T>,

Source§

impl<T: AsSubscriberSet + DefinedAt + IsDisposed> ToAnySource for T
where T::Output: Borrow<Arc<RwLock<SubscriberSet>>>,