Trait reactive_graph::graph::ToAnySource

source ·
pub trait ToAnySource {
    // 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> ToAnySource for T
where T::Output: Borrow<Arc<RwLock<SubscriberSet>>>,