Struct compactmap::CompactMap [] [src]

pub struct CompactMap<V> { /* fields omitted */ }

Methods

impl<V> CompactMap<V>
[src]

Trait Implementations

impl<V: Clone> Clone for CompactMap<V>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<V: Debug> Debug for CompactMap<V>
[src]

Formats the value using the given formatter.

impl<V> Default for CompactMap<V>
[src]

Returns the "default value" for a type. Read more

impl<V> Hash for CompactMap<V> where
    V: Hash
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl<V> PartialEq<CompactMap<V>> for CompactMap<V> where
    V: PartialEq<V>, 
[src]

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

This method tests for !=.

impl<V> Eq for CompactMap<V> where
    V: Eq
[src]

impl<V> PartialOrd<CompactMap<V>> for CompactMap<V> where
    V: PartialOrd<V>, 
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl<V> Ord for CompactMap<V> where
    V: Ord
[src]

This method returns an Ordering between self and other. Read more

impl<V> FromIterator<V> for CompactMap<V>
[src]

Creates a value from an iterator. Read more

impl<'a, V> FromIterator<&'a V> for CompactMap<V> where
    V: Copy
[src]

Creates a value from an iterator. Read more

impl<V> Extend<V> for CompactMap<V>
[src]

Extends a collection with the contents of an iterator. Read more

impl<'a, V> Extend<&'a V> for CompactMap<V> where
    V: Copy
[src]

Extends a collection with the contents of an iterator. Read more

impl<V> Index<usize> for CompactMap<V>
[src]

The returned type after indexing

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

impl<'a, V> Index<&'a usize> for CompactMap<V>
[src]

The returned type after indexing

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

impl<V> IndexMut<usize> for CompactMap<V>
[src]

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

impl<'a, V> IndexMut<&'a usize> for CompactMap<V>
[src]

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

impl<'a, V> IntoIterator for &'a CompactMap<V>
[src]

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<'a, V: 'a> IntoIterator for &'a mut CompactMap<V>
[src]

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