[][src]Struct const_vec::ConstVec

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

Methods

impl<T> ConstVec<T>[src]

pub fn new(capacity: usize) -> ConstVec<T>[src]

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

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

pub fn as_ptr(&self) -> *const T[src]

pub fn as_mut_ptr(&mut self) -> *mut T[src]

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

Trait Implementations

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

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

type Target = [T]

The resulting type after dereferencing.

Auto Trait Implementations

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

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

impl<T> !Sync for ConstVec<T>

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

impl<T> !RefUnwindSafe for ConstVec<T>

Blanket Implementations

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

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

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.

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]