Struct arret_runtime::persistent::vector::Vector[][src]

#[repr(C)]
pub struct Vector<T> where
    T: Copy
{ /* fields omitted */ }

Implementations

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

pub fn new(values: impl ExactSizeIterator<Item = T>) -> Self[src]

pub fn len(&self) -> usize[src]

pub fn is_empty(&self) -> bool[src]

pub fn get(&self, index: usize) -> Option<T>[src]

pub fn take(&self, count: usize) -> Vector<T>[src]

pub fn assoc(&self, index: usize, value: T) -> Vector<T>[src]

pub fn iter(&self) -> impl ExactSizeIterator<Item = T> + '_[src]

pub fn extend(&self, values: impl ExactSizeIterator<Item = T>) -> Vector<T>[src]

Trait Implementations

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

impl<T> Drop for Vector<T> where
    T: Copy
[src]

Auto Trait Implementations

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

impl<T> !Send for Vector<T>

impl<T> !Sync for Vector<T>

impl<T> Unpin for Vector<T>

impl<T> UnwindSafe for Vector<T> where
    T: RefUnwindSafe

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<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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 = 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.