pub struct TbaaNode {
pub name: Symbol,
pub parent: Option<Meta>,
pub offset: u64,
}Expand description
A node of the type based aliasing tree.
The tree this forms is checked by the verifier, since a cycle in it would make the aliasing query that walks it not terminate, and the place to find that out is here and not there.
Fields§
§name: SymbolWhat this node is called, which is what the printer writes and the parser reads.
parent: Option<Meta>The node one level up, with the root having none.
offset: u64The offset within the parent, for a member of a struct type.
Trait Implementations§
impl Copy for TbaaNode
impl Eq for TbaaNode
impl StructuralPartialEq for TbaaNode
Auto Trait Implementations§
impl Freeze for TbaaNode
impl RefUnwindSafe for TbaaNode
impl Send for TbaaNode
impl Sync for TbaaNode
impl Unpin for TbaaNode
impl UnsafeUnpin for TbaaNode
impl UnwindSafe for TbaaNode
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