[][src]Struct regalloc::TypedIxVec

pub struct TypedIxVec<TyIx, Ty> { /* fields omitted */ }

Methods

impl<TyIx, Ty> TypedIxVec<TyIx, Ty> where
    Ty: Clone,
    TyIx: Copy + Eq + Ord + Zero + PlusN + Into<u32>, 
[src]

pub fn new() -> Self[src]

pub fn from_vec(vek: Vec<Ty>) -> Self[src]

pub fn append(&mut self, other: &mut TypedIxVec<TyIx, Ty>)[src]

pub fn iter(&self) -> Iter<Ty>[src]

pub fn iter_mut(&mut self) -> IterMut<Ty>[src]

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

pub fn push(&mut self, item: Ty)[src]

pub fn resize(&mut self, new_len: u32, value: Ty)[src]

pub fn reserve(&mut self, additional: usize)[src]

pub fn elems(&self) -> &[Ty][src]

pub fn elems_mut(&mut self) -> &mut [Ty][src]

pub fn range(&self) -> Range<TyIx>[src]

pub fn remove(&mut self, idx: TyIx) -> Ty[src]

pub fn sort_by<F: FnMut(&Ty, &Ty) -> Ordering>(&mut self, compare: F)[src]

pub fn sort_unstable_by<F: FnMut(&Ty, &Ty) -> Ordering>(&mut self, compare: F)[src]

pub fn clear(&mut self)[src]

Trait Implementations

impl<TyIx, Ty> Clone for TypedIxVec<TyIx, Ty> where
    Ty: Clone
[src]

impl<TyIx, Ty: Debug> Debug for TypedIxVec<TyIx, Ty>[src]

impl<TyIx, Ty> Index<TyIx> for TypedIxVec<TyIx, Ty> where
    TyIx: Into<u32>, 
[src]

type Output = Ty

The returned type after indexing.

impl<TyIx, Ty> IndexMut<TyIx> for TypedIxVec<TyIx, Ty> where
    TyIx: Into<u32>, 
[src]

Auto Trait Implementations

impl<TyIx, Ty> RefUnwindSafe for TypedIxVec<TyIx, Ty> where
    Ty: RefUnwindSafe,
    TyIx: RefUnwindSafe

impl<TyIx, Ty> Send for TypedIxVec<TyIx, Ty> where
    Ty: Send,
    TyIx: Send

impl<TyIx, Ty> Sync for TypedIxVec<TyIx, Ty> where
    Ty: Sync,
    TyIx: Sync

impl<TyIx, Ty> Unpin for TypedIxVec<TyIx, Ty> where
    Ty: Unpin,
    TyIx: Unpin

impl<TyIx, Ty> UnwindSafe for TypedIxVec<TyIx, Ty> where
    Ty: UnwindSafe,
    TyIx: UnwindSafe

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.