[−][src]Struct gluon_base::fixed::FixedVecMap
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]
fn default() -> FixedVecMap<V>
[src]
impl<V> Index<usize> for FixedVecMap<V>
[src]
Auto Trait Implementations
impl<V> !RefUnwindSafe for FixedVecMap<V>
impl<V> Send for FixedVecMap<V> where
V: Send,
V: Send,
impl<V> !Sync for FixedVecMap<V>
impl<V> Unpin for FixedVecMap<V> where
V: Unpin,
V: Unpin,
impl<V> UnwindSafe for FixedVecMap<V> where
V: UnwindSafe,
V: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<Id> AsId<Id> for Id where
Id: ?Sized,
[src]
Id: ?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,
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, 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.
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>,