pub struct MopAliasPair {
pub fact: AliasPair,
pub lhs_may_drop: bool,
pub lhs_need_drop: bool,
pub rhs_may_drop: bool,
pub rhs_need_drop: bool,
}Fields§
§fact: AliasPair§lhs_may_drop: bool§lhs_need_drop: bool§rhs_may_drop: bool§rhs_need_drop: boolImplementations§
Source§impl MopAliasPair
impl MopAliasPair
pub fn new( left_local: usize, lhs_may_drop: bool, lhs_need_drop: bool, right_local: usize, rhs_may_drop: bool, rhs_need_drop: bool, ) -> MopAliasPair
pub fn valuable(&self) -> bool
pub fn swap(&mut self)
pub fn left_local(&self) -> usize
pub fn right_local(&self) -> usize
pub fn lhs_fields(&self) -> &[usize]
pub fn rhs_fields(&self) -> &[usize]
Trait Implementations§
Source§impl Clone for MopAliasPair
impl Clone for MopAliasPair
Source§fn clone(&self) -> MopAliasPair
fn clone(&self) -> MopAliasPair
Returns a duplicate 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 MopAliasPair
impl Debug for MopAliasPair
Source§impl Display for MopAliasPair
impl Display for MopAliasPair
Source§impl From<MopAliasPair> for AliasPair
impl From<MopAliasPair> for AliasPair
Source§fn from(m: MopAliasPair) -> Self
fn from(m: MopAliasPair) -> Self
Converts to this type from the input type.
Source§impl Hash for MopAliasPair
impl Hash for MopAliasPair
Source§impl Ord for MopAliasPair
impl Ord for MopAliasPair
Source§impl PartialEq for MopAliasPair
impl PartialEq for MopAliasPair
Source§impl PartialOrd for MopAliasPair
impl PartialOrd for MopAliasPair
impl Eq for MopAliasPair
impl StructuralPartialEq for MopAliasPair
Auto Trait Implementations§
impl Freeze for MopAliasPair
impl RefUnwindSafe for MopAliasPair
impl Send for MopAliasPair
impl Sync for MopAliasPair
impl Unpin for MopAliasPair
impl UnwindSafe for MopAliasPair
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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.