BasicProps

Trait BasicProps 

Source
pub trait BasicProps:
    WithVertexProp<bool>
    + WithEdgeProp<bool>
    + WithVertexProp<char>
    + WithEdgeProp<char>
    + WithVertexProp<i8>
    + WithEdgeProp<i8>
    + WithVertexProp<i16>
    + WithEdgeProp<i16>
    + WithVertexProp<i32>
    + WithEdgeProp<i32>
    + WithVertexProp<i64>
    + WithEdgeProp<i64>
    + WithVertexProp<isize>
    + WithEdgeProp<isize>
    + WithVertexProp<u8>
    + WithEdgeProp<u8>
    + WithVertexProp<u16>
    + WithEdgeProp<u16>
    + WithVertexProp<u32>
    + WithEdgeProp<u32>
    + WithVertexProp<u64>
    + WithEdgeProp<u64>
    + WithVertexProp<usize>
    + WithEdgeProp<usize>
    + WithVertexProp<f32>
    + WithEdgeProp<f32>
    + WithVertexProp<f64>
    + WithEdgeProp<f64>
    + WithVertexProp<&'static str>
    + WithEdgeProp<&'static str>
    + WithVertexProp<String>
    + WithEdgeProp<String>
    + WithVertexProp<Color>
    + WithEdgeProp<Color>
    + WithVertexProp<Vertex<Self>>
    + WithEdgeProp<Vertex<Self>>
    + WithVertexProp<OptionVertex<Self>>
    + WithEdgeProp<OptionVertex<Self>>
    + WithVertexProp<Edge<Self>>
    + WithEdgeProp<Edge<Self>>
    + WithVertexProp<OptionEdge<Self>>
    + WithEdgeProp<OptionEdge<Self>>
    + WithVertexProp<Vec<bool>>
    + WithEdgeProp<Vec<bool>>
    + WithVertexProp<Vec<char>>
    + WithEdgeProp<Vec<char>>
    + WithVertexProp<Vec<i8>>
    + WithEdgeProp<Vec<i8>>
    + WithVertexProp<Vec<i16>>
    + WithEdgeProp<Vec<i16>>
    + WithVertexProp<Vec<i32>>
    + WithEdgeProp<Vec<i32>>
    + WithVertexProp<Vec<i64>>
    + WithEdgeProp<Vec<i64>>
    + WithVertexProp<Vec<isize>>
    + WithEdgeProp<Vec<isize>>
    + WithVertexProp<Vec<u8>>
    + WithEdgeProp<Vec<u8>>
    + WithVertexProp<Vec<u16>>
    + WithEdgeProp<Vec<u16>>
    + WithVertexProp<Vec<u32>>
    + WithEdgeProp<Vec<u32>>
    + WithVertexProp<Vec<u64>>
    + WithEdgeProp<Vec<u64>>
    + WithVertexProp<Vec<usize>>
    + WithEdgeProp<Vec<usize>>
    + WithVertexProp<Vec<f32>>
    + WithEdgeProp<Vec<f32>>
    + WithVertexProp<Vec<f64>>
    + WithEdgeProp<Vec<f64>>
    + WithVertexProp<Vec<&'static str>>
    + WithEdgeProp<Vec<&'static str>>
    + WithVertexProp<Vec<String>>
    + WithEdgeProp<Vec<String>>
    + WithVertexProp<Vec<Color>>
    + WithEdgeProp<Vec<Color>>
    + WithVertexProp<Vec<Vertex<Self>>>
    + WithEdgeProp<Vec<Vertex<Self>>>
    + WithVertexProp<Vec<OptionVertex<Self>>>
    + WithEdgeProp<Vec<OptionVertex<Self>>>
    + WithVertexProp<Vec<Edge<Self>>>
    + WithEdgeProp<Vec<Edge<Self>>>
    + WithVertexProp<Vec<OptionEdge<Self>>>
    + WithEdgeProp<Vec<OptionEdge<Self>>> { }

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<'a, G: BasicProps> BasicProps for &'a G

Implementors§

Source§

impl<'a, G> BasicProps for SpanningSubgraph<'a, G>
where G: 'a + WithEdge + WithVertexProp<Vec<Edge<G>>> + BasicProps,

Source§

impl<'a, G> BasicProps for Subgraph<'a, G>
where G: 'a + Graph,

Source§

impl<K: CompleteEdgeKind> BasicProps for Complete<K>

Source§

impl<V: Num, K: StaticEdgeKind> BasicProps for Static<V, K>