pub struct IntroductionPoint {
pub source_statement_idx: Option<StatementIdx>,
pub destination_statement_idx: StatementIdx,
pub output_idx: usize,
}
Expand description
The location where a value was introduced.
Fields§
§source_statement_idx: Option<StatementIdx>
The index of the statement creating the value, None if introduced as a function param.
destination_statement_idx: StatementIdx
The index of the statement the value was created into.
output_idx: usize
The output index of the generating statement of the var.
Trait Implementations§
source§impl Clone for IntroductionPoint
impl Clone for IntroductionPoint
source§fn clone(&self) -> IntroductionPoint
fn clone(&self) -> IntroductionPoint
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for IntroductionPoint
impl Debug for IntroductionPoint
source§impl PartialEq for IntroductionPoint
impl PartialEq for IntroductionPoint
source§fn eq(&self, other: &IntroductionPoint) -> bool
fn eq(&self, other: &IntroductionPoint) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IntroductionPoint
impl StructuralPartialEq for IntroductionPoint
Auto Trait Implementations§
impl RefUnwindSafe for IntroductionPoint
impl Send for IntroductionPoint
impl Sync for IntroductionPoint
impl Unpin for IntroductionPoint
impl UnwindSafe for IntroductionPoint
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 Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§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.