Struct regalloc::TypedIxVec [−][src]
Implementations
impl<TyIx, Ty> TypedIxVec<TyIx, Ty> where
Ty: Clone,
TyIx: Copy + Eq + Ord + Zero + PlusN + Into<u32>,
[src]
Ty: Clone,
TyIx: Copy + Eq + Ord + Zero + PlusN + Into<u32>,
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]
Ty: Clone,
fn clone(&self) -> Self
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[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]
TyIx: Into<u32>,
impl<TyIx, Ty> IndexMut<TyIx> for TypedIxVec<TyIx, Ty> where
TyIx: Into<u32>,
[src]
TyIx: Into<u32>,
Auto Trait Implementations
impl<TyIx, Ty> RefUnwindSafe for TypedIxVec<TyIx, Ty> where
Ty: RefUnwindSafe,
TyIx: RefUnwindSafe,
Ty: RefUnwindSafe,
TyIx: RefUnwindSafe,
impl<TyIx, Ty> Send for TypedIxVec<TyIx, Ty> where
Ty: Send,
TyIx: Send,
Ty: Send,
TyIx: Send,
impl<TyIx, Ty> Sync for TypedIxVec<TyIx, Ty> where
Ty: Sync,
TyIx: Sync,
Ty: Sync,
TyIx: Sync,
impl<TyIx, Ty> Unpin for TypedIxVec<TyIx, Ty> where
Ty: Unpin,
TyIx: Unpin,
Ty: Unpin,
TyIx: Unpin,
impl<TyIx, Ty> UnwindSafe for TypedIxVec<TyIx, Ty> where
Ty: UnwindSafe,
TyIx: UnwindSafe,
Ty: UnwindSafe,
TyIx: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,