[][src]Struct gluon_base::fixed::FixedMap

pub struct FixedMap<K, V> { /* fields omitted */ }

Methods

impl<K: Eq + Hash, V> FixedMap<K, V>[src]

pub fn new() -> FixedMap<K, V>[src]

pub fn clear(&mut self)[src]

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

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

impl<K: Eq + Hash, V: StableDeref> FixedMap<K, V>[src]

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

pub fn get<Q>(&self, k: &Q) -> Option<&V::Target> where
    K: Borrow<Q>,
    Q: Eq + Hash
[src]

Trait Implementations

impl<K: Eq + Hash, V> Default for FixedMap<K, V>[src]

impl<'a, Q, K, V> Index<&'a Q> for FixedMap<K, V> where
    K: Eq + Hash + Borrow<Q>,
    Q: Eq + Hash,
    V: StableDeref
[src]

type Output = V::Target

The returned type after indexing.

impl<K: Eq + Hash + Debug, V: Debug> Debug for FixedMap<K, V>[src]

Auto Trait Implementations

impl<K, V> Send for FixedMap<K, V> where
    K: Send,
    V: Send

impl<K, V> !Sync for FixedMap<K, V>

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = !

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

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

impl<T> BorrowMut for T where
    T: ?Sized
[src]