[][src]Struct stack::ArrayVec

pub struct ArrayVec<T: Array> { /* fields omitted */ }

Implementations

impl<T: Array> ArrayVec<T>[src]

pub fn into_inner(self) -> Result<T, Self>[src]

Trait Implementations

impl<T: Array> Clone for ArrayVec<T> where
    T::Item: Clone
[src]

impl<T: Array> Debug for ArrayVec<T> where
    T::Item: Debug
[src]

impl<T: Array> Default for ArrayVec<T>[src]

impl<T: Array> Deref for ArrayVec<T>[src]

type Target = [T::Item]

The resulting type after dereferencing.

impl<T: Array> DerefMut for ArrayVec<T>[src]

impl<T: Array> Drop for ArrayVec<T>[src]

impl<T: Array> Eq for ArrayVec<T> where
    T::Item: Eq
[src]

impl<T: Array> Extend<<T as Array>::Item> for ArrayVec<T>[src]

impl<T: Array, S> From<ArrayVec<T>> for SmallVec<T, S>[src]

impl<T: Array> From<T> for ArrayVec<T>[src]

impl<T: Array> FromIterator<<T as Array>::Item> for ArrayVec<T>[src]

impl<T: Array> Hash for ArrayVec<T> where
    T::Item: Hash
[src]

impl<T: Array> Index<Range<usize>> for ArrayVec<T> where
    [T::Item]: Index<Range<usize>>, 
[src]

type Output = <[T::Item] as Index<Range<usize>>>::Output

The returned type after indexing.

impl<T: Array> Index<RangeFrom<usize>> for ArrayVec<T> where
    [T::Item]: Index<RangeFrom<usize>>, 
[src]

type Output = <[T::Item] as Index<RangeFrom<usize>>>::Output

The returned type after indexing.

impl<T: Array> Index<RangeFull> for ArrayVec<T> where
    [T::Item]: Index<RangeFull>, 
[src]

type Output = <[T::Item] as Index<RangeFull>>::Output

The returned type after indexing.

impl<T: Array> Index<RangeTo<usize>> for ArrayVec<T> where
    [T::Item]: Index<RangeTo<usize>>, 
[src]

type Output = <[T::Item] as Index<RangeTo<usize>>>::Output

The returned type after indexing.

impl<T: Array> Index<usize> for ArrayVec<T> where
    [T::Item]: Index<usize>, 
[src]

type Output = <[T::Item] as Index<usize>>::Output

The returned type after indexing.

impl<T: Array> IndexMut<Range<usize>> for ArrayVec<T>[src]

impl<T: Array> IndexMut<RangeFrom<usize>> for ArrayVec<T>[src]

impl<T: Array> IndexMut<RangeFull> for ArrayVec<T>[src]

impl<T: Array> IndexMut<RangeTo<usize>> for ArrayVec<T>[src]

impl<T: Array> IndexMut<usize> for ArrayVec<T>[src]

impl<T: Array> IntoIterator for ArrayVec<T>[src]

type Item = T::Item

The type of the elements being iterated over.

type IntoIter = ArrayVecIntoIter<T>

Which kind of iterator are we turning this into?

impl<'a, T: Array> IntoIterator for &'a ArrayVec<T>[src]

type Item = &'a T::Item

The type of the elements being iterated over.

type IntoIter = Iter<'a, T::Item>

Which kind of iterator are we turning this into?

impl<'a, T: Array> IntoIterator for &'a mut ArrayVec<T>[src]

type Item = &'a mut T::Item

The type of the elements being iterated over.

type IntoIter = IterMut<'a, T::Item>

Which kind of iterator are we turning this into?

impl<T: Array, R, RHS: Deref<Target = [R]>> PartialEq<RHS> for ArrayVec<T> where
    T::Item: PartialEq<R>, 
[src]

impl<T: Array> Spilled<ArrayVec<T>> for Vec<T::Item>[src]

impl<T: Array> Vector for ArrayVec<T>[src]

type Item = T::Item

Auto Trait Implementations

impl<T> RefUnwindSafe for ArrayVec<T> where
    T: RefUnwindSafe,
    <T as Array>::Index: RefUnwindSafe

impl<T> Send for ArrayVec<T> where
    T: Send,
    <T as Array>::Index: Send

impl<T> Sync for ArrayVec<T> where
    T: Sync,
    <T as Array>::Index: Sync

impl<T> Unpin for ArrayVec<T> where
    T: Unpin,
    <T as Array>::Index: Unpin

impl<T> UnwindSafe for ArrayVec<T> where
    T: UnwindSafe,
    <T as Array>::Index: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<I> IntoIterator for I where
    I: Iterator
[src]

type Item = <I as Iterator>::Item

The type of the elements being iterated over.

type IntoIter = I

Which kind of iterator are we turning this into?

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.