Skip to main content

EdgeProp

Trait EdgeProp 

Source
pub trait EdgeProp<G, T>: Index<Edge<G>, Output = T>
where G: WithEdge,
{ }
Expand description

An edge property that can be read using indexing operation.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§

Source§

impl<P, G, T> EdgeProp<G, T> for P
where G: WithEdge, P: Index<Edge<G>, Output = T>,