Struct lattices::map_union::KeyedBimorphism
source · pub struct KeyedBimorphism<MapOut, Bimorphism> { /* private fields */ }
Expand description
Composable bimorphism, wraps an existing morphism by partitioning it per key.
For example, KeyedBimorphism<..., CartesianProduct<...>>
is a join.
Implementations§
source§impl<MapOut, Bimorphism> KeyedBimorphism<MapOut, Bimorphism>
impl<MapOut, Bimorphism> KeyedBimorphism<MapOut, Bimorphism>
Trait Implementations§
source§impl<MapA, MapB, MapOut, ValFunc> LatticeBimorphism<MapUnion<MapA>, MapUnion<MapB>> for KeyedBimorphism<MapOut, ValFunc>where
ValFunc: LatticeBimorphism<MapA::Item, MapB::Item>,
MapA: MapIter + SimpleKeyedRef + SimpleCollectionRef,
MapB: for<'a> GetKeyValue<&'a MapA::Key, Key = MapA::Key> + SimpleCollectionRef,
MapA::Key: Clone + Eq,
MapA::Item: Clone,
MapB::Item: Clone,
MapOut: Default + MapInsert<MapA::Key> + Collection<Item = ValFunc::Output>,
impl<MapA, MapB, MapOut, ValFunc> LatticeBimorphism<MapUnion<MapA>, MapUnion<MapB>> for KeyedBimorphism<MapOut, ValFunc>where
ValFunc: LatticeBimorphism<MapA::Item, MapB::Item>,
MapA: MapIter + SimpleKeyedRef + SimpleCollectionRef,
MapB: for<'a> GetKeyValue<&'a MapA::Key, Key = MapA::Key> + SimpleCollectionRef,
MapA::Key: Clone + Eq,
MapA::Item: Clone,
MapB::Item: Clone,
MapOut: Default + MapInsert<MapA::Key> + Collection<Item = ValFunc::Output>,
Auto Trait Implementations§
impl<MapOut, Bimorphism> Freeze for KeyedBimorphism<MapOut, Bimorphism>where
Bimorphism: Freeze,
impl<MapOut, Bimorphism> RefUnwindSafe for KeyedBimorphism<MapOut, Bimorphism>where
Bimorphism: RefUnwindSafe,
impl<MapOut, Bimorphism> Send for KeyedBimorphism<MapOut, Bimorphism>where
Bimorphism: Send,
impl<MapOut, Bimorphism> Sync for KeyedBimorphism<MapOut, Bimorphism>where
Bimorphism: Sync,
impl<MapOut, Bimorphism> Unpin for KeyedBimorphism<MapOut, Bimorphism>where
Bimorphism: Unpin,
impl<MapOut, Bimorphism> UnwindSafe for KeyedBimorphism<MapOut, Bimorphism>where
Bimorphism: UnwindSafe,
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more