pub struct SemIr { /* private fields */ }Expand description
Flat expression/statement arena with an interned string pool.
Producers append nodes through the builder methods and hand the finished arena plus root ids to the runtime; evaluation never mutates the arena.
Implementations§
Trait Implementations§
impl Eq for SemIr
impl StructuralPartialEq for SemIr
Auto Trait Implementations§
impl Freeze for SemIr
impl RefUnwindSafe for SemIr
impl Send for SemIr
impl Sync for SemIr
impl Unpin for SemIr
impl UnsafeUnpin for SemIr
impl UnwindSafe for SemIr
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