BinaryLayout

Trait BinaryLayout 

Source
pub trait BinaryLayout: RawLayout {
    // Required methods
    fn lhs(&self) -> &VertexId<Self::Index>;
    fn rhs(&self) -> &VertexId<Self::Index>;
}
Expand description

A BinaryLayout represents a specific type of edge that essentially defines the standard edge layout of a normal graph, where each edge connects exactly two vertices.

Required Methods§

Source

fn lhs(&self) -> &VertexId<Self::Index>

Source

fn rhs(&self) -> &VertexId<Self::Index>

Implementors§

Source§

impl<E, S, I, K> BinaryLayout for Edge<E, S, K, I>
where E: BinaryLayout, S: BinaryDomain<I>, I: RawIndex, K: GraphType,

Source§

impl<S, I, K> BinaryLayout for Link<S, K, I>
where S: BinaryDomain<I>, I: RawIndex, K: GraphType,