Struct brassfibre::prelude::Indexer [] [src]

pub struct Indexer<U: Clone + Hash> {
    pub values: Vec<U>,
    // some fields omitted
}

Hash index

Fields

Methods

impl<U> Indexer<U> where
    U: Clone + Eq + Hash + Ord
[src]

impl<U> Indexer<U> where
    U: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Constructor /////////////////////////////////////////////////////////////////////////////

impl<U> Indexer<U> where
    U: Clone + Eq + Hash
[src]

Trait Implementations

impl<T: Clone + Eq + Hash> From<Vec<T>> for Indexer<T>
[src]

///////////////////////////////////////////////////////////////////////////// From / Into /////////////////////////////////////////////////////////////////////////////

Performs the conversion.

impl<T: Clone + Hash> Into<Vec<T>> for Indexer<T>
[src]

Performs the conversion.

impl<'a, T: Clone + Hash> Into<Cow<'a, Indexer<T>>> for Indexer<T>
[src]

///////////////////////////////////////////////////////////////////////////// Clone on Write /////////////////////////////////////////////////////////////////////////////

Performs the conversion.

impl<U> Display for Indexer<U> where
    U: Clone + Eq + Hash + Debug
[src]

Formats the value using the given formatter. Read more

impl<U> Debug for Indexer<U> where
    U: Clone + Eq + Hash + Debug
[src]

Formats the value using the given formatter.

impl<U> Index<usize> for Indexer<U> where
    U: Clone + Eq + Hash
[src]

The returned type after indexing

The method for the indexing (container[index]) operation

impl<U, O> Add<U> for Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, U, O> Add<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'b, U, O> Add<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, 'b, U, O> Add<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<U, O> Add<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, U, O> Add<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'b, U, O> Add<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'a, 'b, U, O> Add<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Add<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the + operator

The method for the + operator

impl<U, O> Mul<U> for Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, U, O> Mul<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'b, U, O> Mul<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, U, O> Mul<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<U, O> Mul<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, U, O> Mul<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'b, U, O> Mul<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'a, 'b, U, O> Mul<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Mul<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the * operator

The method for the * operator

impl<U, O> Sub<U> for Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, U, O> Sub<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'b, U, O> Sub<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, 'b, U, O> Sub<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<U, O> Sub<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, U, O> Sub<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'b, U, O> Sub<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'a, 'b, U, O> Sub<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Sub<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the - operator

The method for the - operator

impl<U, O> Div<U> for Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, U, O> Div<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'b, U, O> Div<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, 'b, U, O> Div<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<U, O> Div<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, U, O> Div<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'b, U, O> Div<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'a, 'b, U, O> Div<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Div<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the / operator

The method for the / operator

impl<U, O> Rem<U> for Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a, U, O> Rem<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'b, U, O> Rem<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a, 'b, U, O> Rem<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<U, O> Rem<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a, U, O> Rem<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'b, U, O> Rem<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'a, 'b, U, O> Rem<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + Rem<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the % operator

The method for the % operator

impl<U, O> BitAnd<U> for Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a, U, O> BitAnd<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'b, U, O> BitAnd<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a, 'b, U, O> BitAnd<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<U, O> BitAnd<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a, U, O> BitAnd<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'b, U, O> BitAnd<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'a, 'b, U, O> BitAnd<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitAnd<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the & operator

The method for the & operator

impl<U, O> BitOr<U> for Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a, U, O> BitOr<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'b, U, O> BitOr<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a, 'b, U, O> BitOr<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<U, O> BitOr<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a, U, O> BitOr<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'b, U, O> BitOr<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'a, 'b, U, O> BitOr<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitOr<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the | operator

The method for the | operator

impl<U, O> BitXor<U> for Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a, U, O> BitXor<&'a U> for Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'b, U, O> BitXor<U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a, 'b, U, O> BitXor<&'a U> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<U, O> BitXor<Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a, U, O> BitXor<&'a Indexer<U>> for Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'b, U, O> BitXor<Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'a, 'b, U, O> BitXor<&'a Indexer<U>> for &'b Indexer<U> where
    U: Clone + Eq + Hash + BitXor<Output = O>,
    O: Clone + Eq + Hash
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<U: Clone + Clone + Hash> Clone for Indexer<U>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<U> Slicer for Indexer<U> where
    U: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Indexing /////////////////////////////////////////////////////////////////////////////

Return the length of myself

Return a single element specified with the location Read more

Return a single element specified with the location

Return multiple elements specified with the locations Read more

Return multiple elements specified with the locations

Return multiple elements specified with the locations Read more

Return multilpe elements specified with bool flags

Return multiple elements specified with the locations Read more

Return multiple elements specified with the locations

Return multiple elements specified with the locations Read more

impl<U> IndexerIndex for Indexer<U> where
    U: Clone + Eq + Hash
[src]

Whether Indexer contains label or not

Return label location (usize) corresponding to given label (Scalar)

Return label locations (Vector) corresponding to given labels (Vector)

impl<'a, T> Append<'a> for Indexer<T> where
    T: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Append /////////////////////////////////////////////////////////////////////////////

impl<U> PartialEq for Indexer<U> where
    U: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Eq /////////////////////////////////////////////////////////////////////////////

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl<U> IntoIterator for Indexer<U> where
    U: Clone + Eq + Hash
[src]

///////////////////////////////////////////////////////////////////////////// Iterator /////////////////////////////////////////////////////////////////////////////

The type of the elements being iterated over.

Which kind of iterator are we turning this into?

Creates an iterator from a value. Read more

impl<U> FromIterator<U> for Indexer<U> where
    U: Clone + Eq + Hash
[src]

Creates a value from an iterator. Read more