Enum cranelift_codegen::ir::ExpandedProgramPoint
source · [−]Expand description
An expanded program point directly exposes the variants, but takes twice the space to represent.
Variants
Inst(Inst)
An instruction in the function.
Block(Block)
A block header.
Implementations
sourceimpl ExpandedProgramPoint
impl ExpandedProgramPoint
sourcepub fn unwrap_inst(self) -> Inst
pub fn unwrap_inst(self) -> Inst
Get the instruction we know is inside.
Trait Implementations
sourceimpl Clone for ExpandedProgramPoint
impl Clone for ExpandedProgramPoint
sourcefn clone(&self) -> ExpandedProgramPoint
fn clone(&self) -> ExpandedProgramPoint
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for ExpandedProgramPoint
impl Debug for ExpandedProgramPoint
sourceimpl Display for ExpandedProgramPoint
impl Display for ExpandedProgramPoint
sourceimpl From<Block> for ExpandedProgramPoint
impl From<Block> for ExpandedProgramPoint
sourceimpl From<Inst> for ExpandedProgramPoint
impl From<Inst> for ExpandedProgramPoint
sourceimpl From<ProgramPoint> for ExpandedProgramPoint
impl From<ProgramPoint> for ExpandedProgramPoint
sourcefn from(pp: ProgramPoint) -> Self
fn from(pp: ProgramPoint) -> Self
Converts to this type from the input type.
sourceimpl From<ValueDef> for ExpandedProgramPoint
impl From<ValueDef> for ExpandedProgramPoint
sourceimpl PartialEq<ExpandedProgramPoint> for ExpandedProgramPoint
impl PartialEq<ExpandedProgramPoint> for ExpandedProgramPoint
sourcefn eq(&self, other: &ExpandedProgramPoint) -> bool
fn eq(&self, other: &ExpandedProgramPoint) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ExpandedProgramPoint) -> bool
fn ne(&self, other: &ExpandedProgramPoint) -> bool
This method tests for !=
.
impl Copy for ExpandedProgramPoint
impl Eq for ExpandedProgramPoint
impl StructuralEq for ExpandedProgramPoint
impl StructuralPartialEq for ExpandedProgramPoint
Auto Trait Implementations
impl RefUnwindSafe for ExpandedProgramPoint
impl Send for ExpandedProgramPoint
impl Sync for ExpandedProgramPoint
impl Unpin for ExpandedProgramPoint
impl UnwindSafe for ExpandedProgramPoint
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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
sourceimpl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Q where
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to key
and return true
if they are equal.