Struct sway_ir::analysis::dominator::DomTreeNode
source · Expand description
Represents a node in the dominator tree.
Fields
parent: Option<Block>
The immediate dominator of self.
children: Vec<Block>
The blocks that self immediately dominates.
Implementations
sourceimpl DomTreeNode
impl DomTreeNode
pub fn new(parent: Option<Block>) -> DomTreeNode
Auto Trait Implementations
impl RefUnwindSafe for DomTreeNode
impl Send for DomTreeNode
impl Sync for DomTreeNode
impl Unpin for DomTreeNode
impl UnwindSafe for DomTreeNode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more