[−][src]Struct gluon_base::fixed::FixedMap
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]
K: Borrow<Q>,
Q: Eq + Hash,
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]
K: Eq + Hash + Borrow<Q>,
Q: Eq + Hash,
V: StableDeref,
type Output = V::Target
The returned type after indexing.
fn index(&self, index: &'a Q) -> &Self::Output
[src]
impl<K: Eq + Hash + Debug, V: Debug> Debug for FixedMap<K, V>
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)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> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
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.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,