struct SameTypes<'a> {
old: &'a Program,
new: &'a Program,
assumed: Vec<(StructId, StructId)>,
}Expand description
Compares types across two programs, where struct ids differ but names and fields decide.
Fields§
§old: &'a Program§new: &'a Program§assumed: Vec<(StructId, StructId)>Struct pairs being compared further up, taken as equal so recursive structs end.
Implementations§
Auto Trait Implementations§
impl<'a> !Send for SameTypes<'a>
impl<'a> !Sync for SameTypes<'a>
impl<'a> Freeze for SameTypes<'a>
impl<'a> RefUnwindSafe for SameTypes<'a>
impl<'a> Unpin for SameTypes<'a>
impl<'a> UnsafeUnpin for SameTypes<'a>
impl<'a> UnwindSafe for SameTypes<'a>
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