Skip to main content

Data

Trait Data 

Source
pub trait Data: GraphBase {
    type NodeWeight;
    type EdgeWeight;
}
Expand description

Define associated data for nodes and edges

Required Associated Types§

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl<'a, G> Data for &'a G
where G: Data,

Source§

impl<'a, G> Data for &'a mut G
where G: Data,

Implementors§

Source§

impl<'a, G> Data for Frozen<'a, G>
where G: Data,

Source§

impl<E, Ix: IndexType> Data for List<E, Ix>

Source§

impl<G, F> Data for EdgeFiltered<G, F>
where G: Data,

Source§

impl<G, F> Data for NodeFiltered<G, F>
where G: Data,

Source§

impl<G: Visitable + Data> Data for Acyclic<G>

Source§

impl<G> Data for Reversed<G>
where G: Data,

Source§

impl<G> Data for UndirectedAdaptor<G>
where G: Data,

Source§

impl<N, E, S, Ty: EdgeType, Null: Nullable<Wrapped = E>, Ix: IndexType> Data for MatrixGraph<N, E, S, Ty, Null, Ix>

Source§

impl<N, E, Ty, Ix> Data for Csr<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

Source§

impl<N, E, Ty, Ix> Data for Graph<N, E, Ty, Ix>
where Ix: IndexType,

Source§

impl<N, E, Ty, Ix> Data for StableGraph<N, E, Ty, Ix>
where Ty: EdgeType, Ix: IndexType,

Source§

impl<N, E, Ty, S> Data for GraphMap<N, E, Ty, S>
where N: Copy + PartialEq, Ty: EdgeType, S: BuildHasher,