pub struct Diff {
pub decls: (usize, usize),
pub only_a: Vec<String>,
pub only_b: Vec<String>,
pub differ: Vec<(String, &'static str)>,
pub dups: (Vec<String>, Vec<String>),
}Expand description
How two exports differ, every list sorted by name.
Fields§
§decls: (usize, usize)§only_a: Vec<String>§only_b: Vec<String>§differ: Vec<(String, &'static str)>§dups: (Vec<String>, Vec<String>)Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Forget for Diff
impl Freeze for Diff
impl Move for Diff
impl RefUnwindSafe for Diff
impl Send for Diff
impl Sync for Diff
impl Unpin for Diff
impl UnsafeUnpin for Diff
impl UnwindSafe for Diff
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more