pub trait SignalMap: SSs {
type Key;
type Value;
// Required method
fn register_boxed_signal_map(
self: Box<Self>,
world: &mut World,
) -> SignalHandle;
// Provided method
fn register_signal_map(self, world: &mut World) -> SignalHandle
where Self: Sized { ... }
}Expand description
Monadic registration facade for structs that encapsulate some System which is a valid member
of the signal graph downstream of some source MutableBTreeMap; this is similar to Signal
but critically requires that the System outputs Option<MapDiff<Self::Key, Self::Value>>.