Struct cranelift_codegen::flowgraph::BlockPredecessor
source · pub struct BlockPredecessor {
pub block: Block,
pub inst: Inst,
}
Expand description
A basic block denoted by its enclosing Block and last instruction.
Fields§
§block: Block
Enclosing Block key.
inst: Inst
Last instruction in the basic block.
Implementations§
Trait Implementations§
source§impl Debug for BlockPredecessor
impl Debug for BlockPredecessor
source§impl PartialEq<BlockPredecessor> for BlockPredecessor
impl PartialEq<BlockPredecessor> for BlockPredecessor
source§fn eq(&self, other: &BlockPredecessor) -> bool
fn eq(&self, other: &BlockPredecessor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for BlockPredecessor
impl StructuralEq for BlockPredecessor
impl StructuralPartialEq for BlockPredecessor
Auto Trait Implementations§
impl RefUnwindSafe for BlockPredecessor
impl Send for BlockPredecessor
impl Sync for BlockPredecessor
impl Unpin for BlockPredecessor
impl UnwindSafe for BlockPredecessor
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
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.