Struct lattices::ght::lattice::GhtNodeKeyedBimorphism

source ·
pub struct GhtNodeKeyedBimorphism<Bimorphism> { /* private fields */ }
Expand description

bimorphism trait for equijoining Ght Nodes

Implementations§

source§

impl<Bimorphism> GhtNodeKeyedBimorphism<Bimorphism>

bimorphism implementation for equijoining Ght Nodes

source

pub fn new(bimorphism: Bimorphism) -> Self

initialize bimorphism

Trait Implementations§

source§

impl<Bimorphism: Default> Default for GhtNodeKeyedBimorphism<Bimorphism>

source§

fn default() -> GhtNodeKeyedBimorphism<Bimorphism>

Returns the “default value” for a type. Read more
source§

impl<'a, 'b, Head, GhtA, GhtB, ValFunc> LatticeBimorphism<&'a GhtA, &'b GhtB> for GhtNodeKeyedBimorphism<ValFunc>
where Head: Clone + Hash + Eq, ValFunc: LatticeBimorphism<&'a GhtA::Get, &'b GhtB::Get>, ValFunc::Output: GeneralizedHashTrieNode, GhtA: GeneralizedHashTrieNode<Head = Head> + GhtGet, GhtB: GeneralizedHashTrieNode<Head = Head, Schema = GhtA::Schema> + GhtGet, GhtA::Storage: VariadicSet<Schema = GhtA::Schema>, GhtB::Storage: VariadicSet<Schema = GhtB::Schema>, <GhtA::SuffixSchema as VariadicExt>::AsRefVar<'a>: CloneVariadic, <GhtB::SuffixSchema as VariadicExt>::AsRefVar<'b>: CloneVariadic,

bimorphism implementation for equijoining Ght Nodes

source§

type Output = GhtInner<Head, <ValFunc as LatticeBimorphism<&'a <GhtA as GhtGet>::Get, &'b <GhtB as GhtGet>::Get>>::Output>

The output lattice type.
source§

fn call(&mut self, ght_a: &'a GhtA, ght_b: &'b GhtB) -> Self::Output

Executes the function.

Auto Trait Implementations§

§

impl<Bimorphism> Freeze for GhtNodeKeyedBimorphism<Bimorphism>
where Bimorphism: Freeze,

§

impl<Bimorphism> RefUnwindSafe for GhtNodeKeyedBimorphism<Bimorphism>
where Bimorphism: RefUnwindSafe,

§

impl<Bimorphism> Send for GhtNodeKeyedBimorphism<Bimorphism>
where Bimorphism: Send,

§

impl<Bimorphism> Sync for GhtNodeKeyedBimorphism<Bimorphism>
where Bimorphism: Sync,

§

impl<Bimorphism> Unpin for GhtNodeKeyedBimorphism<Bimorphism>
where Bimorphism: Unpin,

§

impl<Bimorphism> UnwindSafe for GhtNodeKeyedBimorphism<Bimorphism>
where Bimorphism: UnwindSafe,

Blanket Implementations§

source§

impl<T> Any for T
where T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for T
where T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for T
where U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

source§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.