[][src]Struct twounordered::TwoUnorderedVecs

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

Implementations

impl<T> TwoUnorderedVecs<T>[src]

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

pub fn new() -> Self[src]

pub fn first(&mut self) -> FirstVec<'_, T>[src]

pub fn second(&mut self) -> SecondVec<'_, T>[src]

pub fn as_vec_mut(&mut self) -> BorrowedVec<'_, T>[src]

Panics if both vects are not empty. Returns a handle to the underlying vec that the user can use. panics if the vec isnt empty when the user is done using it.

pub fn clear(&mut self)[src]

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

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

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

pub fn as_slice(&self) -> (&[T], &[T])[src]

Trait Implementations

impl<T: Debug> Debug for TwoUnorderedVecs<T>[src]

Auto Trait Implementations

impl<T> Send for TwoUnorderedVecs<T> where
    T: Send
[src]

impl<T> Sync for TwoUnorderedVecs<T> where
    T: Sync
[src]

impl<T> Unpin for TwoUnorderedVecs<T> where
    T: Unpin
[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, 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.