[][src]Struct arc_buffer::buf::ArcBuffer

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

Implementations

impl<T> ArcBuffer<T>[src]

pub fn new() -> Self[src]

pub fn with_capacity(cap: usize) -> Self[src]

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

pub unsafe fn copy_from_ptr_unsafe(src: *const T, len: usize) -> Self[src]

impl<T> ArcBuffer<MaybeUninit<T>>[src]

pub fn new_uninit(len: usize) -> Self[src]

pub unsafe fn assume_init(self) -> ArcBuffer<T>[src]

impl<T: Copy> ArcBuffer<T>[src]

pub fn copy_from_slice(src: &[T]) -> Self[src]

pub fn copy_to_new(&self) -> Self[src]

pub fn filled(value: T, len: usize) -> Self[src]

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

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

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

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

pub fn insert(&mut self, index: usize, value: T)[src]

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

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

Trait Implementations

impl<T: Copy> AsMut<[T]> for ArcBuffer<T>[src]

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

impl<T> Clone for ArcBuffer<T>[src]

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

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

type Target = [T]

The resulting type after dereferencing.

impl<T: Copy> DerefMut for ArcBuffer<T>[src]

impl<T> Display for ArcBuffer<T> where
    [T]: Display
[src]

impl<T> Drop for ArcBuffer<T>[src]

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

impl<T: Copy> Extend<T> for ArcBuffer<T>[src]

impl<T> From<Box<[T], Global>> for ArcBuffer<T>[src]

impl<T> From<Vec<T, Global>> for ArcBuffer<T>[src]

impl<T> FromIterator<T> for ArcBuffer<T>[src]

impl<T, S: SliceIndex<[T]>> Index<S> for ArcBuffer<T>[src]

type Output = S::Output

The returned type after indexing.

impl<T: Copy, S: SliceIndex<[T]>> IndexMut<S> for ArcBuffer<T>[src]

impl<T: Copy> IntoIterator for ArcBuffer<T>[src]

type Item = T

The type of the elements being iterated over.

type IntoIter = IntoIter<T>

Which kind of iterator are we turning this into?

impl<'a, T> IntoIterator for &'a ArcBuffer<T>[src]

type Item = &'a T

The type of the elements being iterated over.

type IntoIter = Iter<'a, T>

Which kind of iterator are we turning this into?

impl<'a, T: Copy> IntoIterator for &'a mut ArcBuffer<T>[src]

type Item = &'a mut T

The type of the elements being iterated over.

type IntoIter = IterMut<'a, T>

Which kind of iterator are we turning this into?

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

impl<T, S: AsRef<[T]>> PartialEq<S> for ArcBuffer<T> where
    [T]: PartialEq
[src]

impl<T, S: AsRef<[T]>> PartialOrd<S> for ArcBuffer<T> where
    [T]: PartialOrd
[src]

impl<T> Send for ArcBuffer<T>[src]

impl<T> Sync for ArcBuffer<T>[src]

Auto Trait Implementations

impl<T> Unpin for ArcBuffer<T>[src]

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.