Struct cranelift_codegen::ir::ProgramPoint
source · [−]pub struct ProgramPoint(_);
Expand description
A ProgramPoint
represents a position in a function where the live range of an SSA value can
begin or end. It can be either:
- An instruction or
- A block header.
This corresponds more or less to the lines in the textual form of Cranelift IR.
Trait Implementations
sourceimpl Clone for ProgramPoint
impl Clone for ProgramPoint
sourcefn clone(&self) -> ProgramPoint
fn clone(&self) -> ProgramPoint
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 ProgramPoint
impl Debug for ProgramPoint
sourceimpl Display for ProgramPoint
impl Display for ProgramPoint
sourceimpl From<ProgramPoint> for ExpandedProgramPoint
impl From<ProgramPoint> for ExpandedProgramPoint
sourcefn from(pp: ProgramPoint) -> Self
fn from(pp: ProgramPoint) -> Self
Performs the conversion.
sourceimpl From<ValueDef> for ProgramPoint
impl From<ValueDef> for ProgramPoint
sourceimpl PartialEq<ProgramPoint> for ProgramPoint
impl PartialEq<ProgramPoint> for ProgramPoint
sourcefn eq(&self, other: &ProgramPoint) -> bool
fn eq(&self, other: &ProgramPoint) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &ProgramPoint) -> bool
fn ne(&self, other: &ProgramPoint) -> bool
This method tests for !=
.
impl Copy for ProgramPoint
impl Eq for ProgramPoint
impl StructuralEq for ProgramPoint
impl StructuralPartialEq for ProgramPoint
Auto Trait Implementations
impl RefUnwindSafe for ProgramPoint
impl Send for ProgramPoint
impl Sync for ProgramPoint
impl Unpin for ProgramPoint
impl UnwindSafe for ProgramPoint
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.
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more