[−][src]Struct mtots_core::Map
Implementations
impl Map
[src]
pub fn new() -> Self
[src]
pub fn borrow(&self) -> Ref<'_, IndexMap<Key, Value>>
[src]
pub fn borrow_mut(&self) -> RefMut<'_, IndexMap<Key, Value>>
[src]
pub fn into_inner(self) -> IndexMap<Key, Value>
[src]
pub fn to_string_keys(&self) -> Result<HashMap<RcStr, Value>>
[src]
pub fn sorted(&self) -> Vec<(Key, Value)>
[src]
pub fn generator(map: Rc<Self>) -> NativeGenerator
[src]
pub fn unwrap_or_clone(map: Rc<Self>) -> IndexMap<Key, Value>
[src]
Trait Implementations
impl From<Map> for Value
[src]
impl FromIterator<(Key, Value)> for Map
[src]
impl PartialEq<Map> for Map
[src]
impl PartialOrd<Map> for Map
[src]
fn partial_cmp(&self, other: &Self) -> Option<Ordering>
[src]
#[must_use]fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl StructuralPartialEq for Map
[src]
Auto Trait Implementations
impl !RefUnwindSafe for Map
impl !Send for Map
impl !Sync for Map
impl Unpin for Map
impl !UnwindSafe for Map
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>,