Skip to main content

IndexGraphView

Trait IndexGraphView 

Source
pub trait IndexGraphView: GraphView {
    // Required methods
    fn node_bound(&self) -> usize;
    fn edge_bound(&self) -> usize;
    fn node_slot(node: Self::Node) -> usize;
    fn edge_slot(edge: Self::Edge) -> usize;
}

Required Methods§

Source

fn node_bound(&self) -> usize

Source

fn edge_bound(&self) -> usize

Source

fn node_slot(node: Self::Node) -> usize

Source

fn edge_slot(edge: Self::Edge) -> usize

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl IndexGraphView for Graph

Source§

impl IndexGraphView for Topology

Source§

impl IndexGraphView for WorkingGraph

Source§

impl<G, Predicate> IndexGraphView for EdgeFiltered<'_, G, Predicate>
where G: IndexGraphView, Predicate: Fn(G::Edge) -> bool,

Source§

impl<G, Predicate> IndexGraphView for NodeFiltered<'_, G, Predicate>
where G: IndexGraphView, Predicate: Fn(G::Node) -> bool,

Source§

impl<G: IndexGraphView> IndexGraphView for Reversed<'_, G>

Source§

impl<NodePayload, EdgePayload> IndexGraphView for AcyclicPayloadGraph<NodePayload, EdgePayload>

Source§

impl<NodePayload, EdgePayload> IndexGraphView for PayloadGraph<NodePayload, EdgePayload>

Source§

impl<NodePayload, EdgePayload> IndexGraphView for StablePayloadGraph<NodePayload, EdgePayload>