pub struct Map { /* private fields */ }Expand description
A map that keeps keys in insertion order.
Entries are stored once, as a flat list of pairs. Insertion order is intrinsic to that list. Predicate paths enumerate keys in this order. Equality ignores order, so two maps with the same pairs are equal whatever the order. The maps this library edits are small, so linear lookup is fine and matches how the engine clones whole maps along the path.
Implementations§
Trait Implementations§
Source§impl IntoIterator for Map
impl IntoIterator for Map
Auto Trait Implementations§
impl !Send for Map
impl !Sync for Map
impl Freeze for Map
impl RefUnwindSafe for Map
impl Unpin for Map
impl UnsafeUnpin for Map
impl UnwindSafe for Map
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more