Trait ReadableBoxExt

Source
pub trait ReadableBoxExt: Readable<Storage = UnsyncStorage> {
    // Provided method
    fn boxed(self) -> ReadSignal<Self::Target>
       where Self: Sized + 'static { ... }
}
Expand description

An extension trait for Readable types that can be boxed into a trait object.

Provided Methods§

Source

fn boxed(self) -> ReadSignal<Self::Target>
where Self: Sized + 'static,

Box the readable value into a trait object. This is useful for passing around readable values without knowing their concrete type.

Implementors§

Source§

impl<R: Readable<Storage = UnsyncStorage> + ?Sized> ReadableBoxExt for R