pub struct Edge<G, W: DirectorBits> {
pub class: G,
pub director: Director<W>,
}Expand description
An edge from a parent e-node to a child e-class, carrying a director matrix that routes variable ports.
When W = (), this has the same size and layout as G.
Fields§
§class: G§director: Director<W>Implementations§
Trait Implementations§
impl<G: Copy, W: Copy + DirectorBits> Copy for Edge<G, W>
impl<G: Eq, W: Eq + DirectorBits> Eq for Edge<G, W>
impl<G: PartialEq, W: PartialEq + DirectorBits> StructuralPartialEq for Edge<G, W>
Auto Trait Implementations§
impl<G, W> Freeze for Edge<G, W>
impl<G, W> RefUnwindSafe for Edge<G, W>
impl<G, W> Send for Edge<G, W>
impl<G, W> Sync for Edge<G, W>
impl<G, W> Unpin for Edge<G, W>
impl<G, W> UnsafeUnpin for Edge<G, W>
impl<G, W> UnwindSafe for Edge<G, W>
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,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.