pub struct Redundancy {
pub redundant_var: LcnfVarId,
pub canonical_var: LcnfVarId,
pub vn: ValueNumber,
}Expand description
Represents a single GVN-detected redundancy.
Fields§
§redundant_var: LcnfVarIdThe redundant variable (the one to be replaced).
canonical_var: LcnfVarIdThe canonical variable (the one to keep).
vn: ValueNumberThe value number of the equivalence class.
Trait Implementations§
Source§impl Clone for Redundancy
impl Clone for Redundancy
Source§fn clone(&self) -> Redundancy
fn clone(&self) -> Redundancy
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 moreAuto Trait Implementations§
impl Freeze for Redundancy
impl RefUnwindSafe for Redundancy
impl Send for Redundancy
impl Sync for Redundancy
impl Unpin for Redundancy
impl UnsafeUnpin for Redundancy
impl UnwindSafe for Redundancy
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