Enum llvm_ir_analysis::CFGNode
source · pub enum CFGNode<'m> {
Block(&'m Name),
Return,
}
Expand description
A CFGNode represents a basic block, or the special node Return
Variants§
Block(&'m Name)
The block with the given Name
Return
The special Return
node indicating function return
Trait Implementations§
source§impl<'m> Ord for CFGNode<'m>
impl<'m> Ord for CFGNode<'m>
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl<'m> PartialEq for CFGNode<'m>
impl<'m> PartialEq for CFGNode<'m>
source§impl<'m> PartialOrd for CFGNode<'m>
impl<'m> PartialOrd for CFGNode<'m>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl<'m> Copy for CFGNode<'m>
impl<'m> Eq for CFGNode<'m>
impl<'m> StructuralPartialEq for CFGNode<'m>
Auto Trait Implementations§
impl<'m> RefUnwindSafe for CFGNode<'m>
impl<'m> Send for CFGNode<'m>
impl<'m> Sync for CFGNode<'m>
impl<'m> Unpin for CFGNode<'m>
impl<'m> UnwindSafe for CFGNode<'m>
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
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.