#[non_exhaustive]pub struct PirGraph {
pub nodes: Vec<PirNode>,
pub edges: Vec<PirEdge>,
pub receipt: PirReceipt,
}Expand description
A lowered PIR graph plus its receipt.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.nodes: Vec<PirNode>PIR nodes in stable lowering order.
edges: Vec<PirEdge>Control-flow edges.
receipt: PirReceiptLowering receipt describing this graph.
Implementations§
Trait Implementations§
impl Eq for PirGraph
impl StructuralPartialEq for PirGraph
Auto Trait Implementations§
impl Freeze for PirGraph
impl RefUnwindSafe for PirGraph
impl Send for PirGraph
impl Sync for PirGraph
impl Unpin for PirGraph
impl UnsafeUnpin for PirGraph
impl UnwindSafe for PirGraph
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