[−][src]Struct kb::IndexedMap
Implementations
impl IndexedMap
[src]
pub fn new() -> Self
[src]
pub fn insert(&mut self, key: RcStr, val: Val) -> u32
[src]
pub fn set_by_index(&mut self, i: u32, val: Val)
[src]
pub fn get_by_key(&self, key: &RcStr) -> Option<&Val>
[src]
pub fn get_by_index(&self, i: u32) -> Option<&Val>
[src]
pub fn get_key(&self, index: u32) -> Option<&RcStr>
[src]
pub fn len(&self) -> usize
[src]
Auto Trait Implementations
impl !RefUnwindSafe for IndexedMap
impl !Send for IndexedMap
impl !Sync for IndexedMap
impl Unpin for IndexedMap
impl !UnwindSafe for IndexedMap
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,
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>,