pub enum Topology {
Chain,
Star,
Fanout,
Fanin,
}Expand description
The four canonical 2-body topologies scored by the engine.
Variants§
Chain
H(X,Y) :- L(X,Z), R(Z,Y) — join on intermediate Z.
Star
H(X,Y) :- L(X,Y), R(X,Y) — shared X,Y.
Fanout
H(X,Y) :- L(X,Z), R(X,Y) — left introduces Z.
Fanin
H(X,Y) :- L(X,Y), R(Z,Y) — right introduces Z.
Implementations§
Trait Implementations§
impl Copy for Topology
impl Eq for Topology
impl StructuralPartialEq for Topology
Auto Trait Implementations§
impl Freeze for Topology
impl RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl UnsafeUnpin for Topology
impl UnwindSafe for Topology
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more