Skip to main content

DenseEndpointIndex

Trait DenseEndpointIndex 

Source
pub trait DenseEndpointIndex: DenseIncidenceIndex {
    // Provided methods
    fn endpoint_bound(&self) -> usize { ... }
    fn endpoint_index(&self, endpoint: Self::IncidenceId) -> usize { ... }
}
Expand description

Dense endpoint-index capability for graph views with incidences.

Graph-facing name for DenseIncidenceIndex.

Provided Methods§

Source

fn endpoint_bound(&self) -> usize

Returns the exclusive upper bound for endpoint indexes in this graph view.

Source

fn endpoint_index(&self, endpoint: Self::IncidenceId) -> usize

Returns the dense index for endpoint in this graph view.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§