[][src]Struct elastic_array::ElasticArray4

pub struct ElasticArray4<T> { /* fields omitted */ }

Methods

impl<T> ElasticArray4<T> where
    T: Copy
[src]

pub fn new() -> ElasticArray4<T>[src]

pub fn from_slice(slice: &[T]) -> ElasticArray4<T>[src]

pub fn from_vec(vec: Vec<T>) -> ElasticArray4<T>[src]

pub fn push(&mut self, e: T)[src]

pub fn pop(&mut self) -> Option<T>[src]

pub fn clear(&mut self)[src]

pub fn append_slice(&mut self, elements: &[T])[src]

pub fn into_vec(self) -> Vec<T>[src]

pub fn insert_slice(&mut self, index: usize, elements: &[T])[src]

Trait Implementations

impl<T> AsRef<[T]> for ElasticArray4<T>[src]

impl<'a, T: 'a + Copy> From<&'a [T]> for ElasticArray4<T>[src]

impl<T> Clone for ElasticArray4<T> where
    T: Copy
[src]

impl<T> Default for ElasticArray4<T> where
    T: Copy
[src]

impl<T> Eq for ElasticArray4<T> where
    T: Eq
[src]

impl<T> Ord for ElasticArray4<T> where
    T: Ord
[src]

impl<T, U> PartialEq<U> for ElasticArray4<T> where
    T: PartialEq,
    U: Deref<Target = [T]>, 
[src]

impl<T, U> PartialOrd<U> for ElasticArray4<T> where
    T: PartialOrd,
    U: Deref<Target = [T]>, 
[src]

impl<T> Deref for ElasticArray4<T>[src]

type Target = [T]

The resulting type after dereferencing.

impl<T> DerefMut for ElasticArray4<T>[src]

impl<T> Debug for ElasticArray4<T> where
    T: Debug
[src]

impl<T> Hash for ElasticArray4<T> where
    T: Hash
[src]

impl<T> Borrow<[T]> for ElasticArray4<T>[src]

impl<T> HeapSizeOf for ElasticArray4<T> where
    T: HeapSizeOf
[src]

Auto Trait Implementations

impl<T> Send for ElasticArray4<T> where
    T: Send

impl<T> Sync for ElasticArray4<T> where
    T: Sync

impl<T> Unpin for ElasticArray4<T> where
    T: Unpin

impl<T> UnwindSafe for ElasticArray4<T> where
    T: UnwindSafe

impl<T> RefUnwindSafe for ElasticArray4<T> where
    T: RefUnwindSafe

Blanket Implementations

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

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

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 = !

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.

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

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

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