Struct fera_graph::props::ArrayProp [] [src]

pub struct ArrayProp<P, D> { /* fields omitted */ }

A property backed by an array.

Trait Implementations

impl<P: Clone, D: Clone> Clone for ArrayProp<P, D>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<P: Debug, D: Debug> Debug for ArrayProp<P, D>
[src]

[src]

Formats the value using the given formatter.

impl<I, P, D> PropGet<I> for ArrayProp<P, D> where
    P: PropGet<I, Output = usize>,
    D: Index<usize>,
    D::Output: Clone + Sized
[src]

[src]

Returns the value associated with key.

[src]

Creates a mapped property that maps each property value using fun.

[src]

Returns a reference to this property.

impl<I, P, D> Index<I> for ArrayProp<P, D> where
    P: PropGet<I, Output = usize>,
    D: Index<usize>, 
[src]

The returned type after indexing.

[src]

Performs the indexing (container[index]) operation.

impl<I, P, D> IndexMut<I> for ArrayProp<P, D> where
    P: PropGet<I, Output = usize>,
    D: IndexMut<usize>, 
[src]

[src]

Performs the mutable indexing (container[index]) operation.

impl<T, G> VertexPropMutNew<G, T> for ArrayProp<VertexIndexProp<G>, Vec<T>> where
    G: VertexList + WithVertexIndexProp
[src]

[src]

Creates a new vertex prop. Read more

impl<T, G> EdgePropMutNew<G, T> for ArrayProp<EdgeIndexProp<G>, Vec<T>> where
    G: EdgeList + WithEdgeIndexProp
[src]

[src]

Creates a new edge prop. Read more