The name of this slot.
The name of this slot. This corresponds to the map field the slot is using to store its value.
Returns Some(value) if the cubbie has the given slot, or None otherwise.
Returns Some(value) if the cubbie has the given slot, or None otherwise.
Some(value) if the cubbie has the given slot, or None otherwise.
The current value of the slot.
The current value of the slot.
the value of slot. May throw an exception if the underlying map has no field corresponding to this slot.
Convenience method for more concise access to slot value.
Convenience method for more concise access to slot value.
value of the slot.
The cubbie this slot is contained in.
The value of a RefSlot is the id of the referenced cubbie.
The value of a RefSlot is the id of the referenced cubbie. To get an actual cubbie, clients need to call this method. It takes as implicit parameter a mapping from ids to cubbies. This is a deliberate choice: the slot itself is not supposed to store any internal state/mapping to cubbies, it only stores the id.
mapping from ids to cubbies.
the object associated with the given id in the given mapping.
A helper trait for libraries that need ref slots to be covariant.