[][src]Struct mtots_core::Map

pub struct Map { /* fields omitted */ }

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]

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]

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

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

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

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

The type returned in the event of a conversion error.