pub enum AssocResult {
Array(PersistentArrayMap),
Promote(Vec<(Value, Value)>),
}Expand description
Result of assoc — stays an array-map or promotes to a hash-map.
Variants§
Array(PersistentArrayMap)
Promote(Vec<(Value, Value)>)
The caller must construct the hash-map; we return the raw entries to avoid a circular dependency (HashMapincludes ArrayMap but not vice-versa).
Auto Trait Implementations§
impl !RefUnwindSafe for AssocResult
impl !Send for AssocResult
impl !Sync for AssocResult
impl !UnwindSafe for AssocResult
impl Freeze for AssocResult
impl Unpin for AssocResult
impl UnsafeUnpin for AssocResult
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