pub struct ErasedTypeMap { /* private fields */ }Expand description
A map from expression ids to their erased forms.
Implementations§
Source§impl ErasedTypeMap
impl ErasedTypeMap
Sourcepub fn insert(&mut self, id: u64, erased: ErasedExprExt)
pub fn insert(&mut self, id: u64, erased: ErasedExprExt)
Insert a mapping.
Sourcepub fn get(&self, id: u64) -> Option<&ErasedExprExt>
pub fn get(&self, id: u64) -> Option<&ErasedExprExt>
Look up by id.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ErasedTypeMap
impl RefUnwindSafe for ErasedTypeMap
impl Send for ErasedTypeMap
impl Sync for ErasedTypeMap
impl Unpin for ErasedTypeMap
impl UnsafeUnpin for ErasedTypeMap
impl UnwindSafe for ErasedTypeMap
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