[][src]Struct gluon_base::fixed::FixedVecMap

pub struct FixedVecMap<V> { /* fields omitted */ }

Implementations

impl<V> FixedVecMap<V>[src]

pub fn new() -> FixedVecMap<V>[src]

pub fn clear(&mut self)[src]

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

pub fn is_empty(&self) -> bool[src]

impl<V> FixedVecMap<V>[src]

pub fn insert(&mut self, key: usize, value: V) -> Option<V>[src]

pub fn remove(&mut self, key: usize)[src]

pub fn try_insert(&self, key: usize, value: V) -> Result<(), (usize, V)>[src]

pub fn get(&self, k: usize) -> Option<&V>[src]

pub fn get_mut(&mut self, k: usize) -> Option<&mut V>[src]

pub fn truncate(&mut self, index: usize)[src]

pub fn drain<'a>(&'a mut self) -> impl Iterator<Item = V> + 'a[src]

pub fn iter(&self) -> impl Iterator<Item = (usize, &V)>[src]

Trait Implementations

impl<V: Debug> Debug for FixedVecMap<V>[src]

impl<V> Default for FixedVecMap<V>[src]

impl<V> Index<usize> for FixedVecMap<V>[src]

type Output = V

The returned type after indexing.

Auto Trait Implementations

impl<V> !RefUnwindSafe for FixedVecMap<V>

impl<V> Send for FixedVecMap<V> where
    V: Send

impl<V> !Sync for FixedVecMap<V>

impl<V> Unpin for FixedVecMap<V> where
    V: Unpin

impl<V> UnwindSafe for FixedVecMap<V> where
    V: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<Id> AsId<Id> for Id where
    Id: ?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.