pub struct InstanceTree { /* private fields */ }Expand description
The full, undeduped instance hierarchy elaborate() produces. Indexed
densely by InstanceId (node(id) is O(1)); nodes[i].id.0 == i is
an invariant every push in elaborate.rs maintains.
Implementations§
Source§impl InstanceTree
impl InstanceTree
pub fn node(&self, id: InstanceId) -> &InstanceNode
pub fn len(&self) -> usize
pub fn is_empty(&self) -> bool
Trait Implementations§
Source§impl Debug for InstanceTree
impl Debug for InstanceTree
Auto Trait Implementations§
impl Freeze for InstanceTree
impl RefUnwindSafe for InstanceTree
impl Send for InstanceTree
impl Sync for InstanceTree
impl Unpin for InstanceTree
impl UnsafeUnpin for InstanceTree
impl UnwindSafe for InstanceTree
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