Struct lattices::ght::lattice::GhtCartesianProductBimorphism
source · pub struct GhtCartesianProductBimorphism<GhtOut> { /* private fields */ }
Expand description
Bimorphism for the cartesian product of two GHT subtries.
Output is a set of all possible pairs of suffixes from the two subtries. If you use this at the root of a GHT, it’s a full cross-product. If you use this at an internal node, it provides a ‘factorized’ representation with only the suffix cross-products expanded.
Trait Implementations§
source§impl<GhtOut> Default for GhtCartesianProductBimorphism<GhtOut>
impl<GhtOut> Default for GhtCartesianProductBimorphism<GhtOut>
source§impl<'a, 'b, GhtA, GhtB, GhtOut> LatticeBimorphism<&'a GhtA, &'b GhtB> for GhtCartesianProductBimorphism<GhtOut>where
GhtA: GeneralizedHashTrieNode,
GhtA::Storage: VariadicSet<Schema = GhtA::Schema>,
GhtB: GeneralizedHashTrieNode,
GhtB::Storage: VariadicSet<Schema = GhtB::Schema>,
GhtOut: FromIterator<<GhtA::SuffixSchema as VariadicExt>::Extend<GhtB::SuffixSchema>>,
GhtA::SuffixSchema: CloneVariadic,
GhtB::SuffixSchema: CloneVariadic,
impl<'a, 'b, GhtA, GhtB, GhtOut> LatticeBimorphism<&'a GhtA, &'b GhtB> for GhtCartesianProductBimorphism<GhtOut>where
GhtA: GeneralizedHashTrieNode,
GhtA::Storage: VariadicSet<Schema = GhtA::Schema>,
GhtB: GeneralizedHashTrieNode,
GhtB::Storage: VariadicSet<Schema = GhtB::Schema>,
GhtOut: FromIterator<<GhtA::SuffixSchema as VariadicExt>::Extend<GhtB::SuffixSchema>>,
GhtA::SuffixSchema: CloneVariadic,
GhtB::SuffixSchema: CloneVariadic,
Auto Trait Implementations§
impl<GhtOut> Freeze for GhtCartesianProductBimorphism<GhtOut>
impl<GhtOut> RefUnwindSafe for GhtCartesianProductBimorphism<GhtOut>
impl<GhtOut> Send for GhtCartesianProductBimorphism<GhtOut>
impl<GhtOut> Sync for GhtCartesianProductBimorphism<GhtOut>
impl<GhtOut> Unpin for GhtCartesianProductBimorphism<GhtOut>
impl<GhtOut> UnwindSafe for GhtCartesianProductBimorphism<GhtOut>
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