Type Alias PropertyMap

Source
type PropertyMap<'a> = ObjectMap<Slot<Symbol<'a>>, Vec<(Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>)>>;

Aliased Type§

struct PropertyMap<'a>(UnsafeCell<IndexMap<Slot<Symbol<'a>>, Vec<(Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>)>, BuildHasherDefault<FxHasher>>>);

Fields§

§0: UnsafeCell<IndexMap<Slot<Symbol<'a>>, Vec<(Slot<Symbol<'a>>, Slot<Gc<ObjectType<'a>>>)>, BuildHasherDefault<FxHasher>>>

Trait Implementations

Source§

impl<K: Debug, V: Debug> Debug for ObjectMap<K, V>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<K, V> Default for ObjectMap<K, V>

Source§

fn default() -> Self

Returns the “default value” for a type. Read more
Source§

impl<K, V> Trace for ObjectMap<K, V>
where K: Trace + Hash + Eq, V: Trace,

Source§

fn trace(&self, state: &mut GcState)