pub struct ModuleDiff {
pub added: Vec<Name>,
pub removed: Vec<Name>,
pub changed: Vec<Name>,
}Expand description
The difference between two module versions.
Fields§
§added: Vec<Name>Names added in the new version.
removed: Vec<Name>Names removed from the old version.
changed: Vec<Name>Names present in both but with changed content.
Implementations§
Trait Implementations§
Source§impl Clone for ModuleDiff
impl Clone for ModuleDiff
Source§fn clone(&self) -> ModuleDiff
fn clone(&self) -> ModuleDiff
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 ModuleDiff
impl Debug for ModuleDiff
Source§impl Default for ModuleDiff
impl Default for ModuleDiff
Source§fn default() -> ModuleDiff
fn default() -> ModuleDiff
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for ModuleDiff
impl RefUnwindSafe for ModuleDiff
impl Send for ModuleDiff
impl Sync for ModuleDiff
impl Unpin for ModuleDiff
impl UnsafeUnpin for ModuleDiff
impl UnwindSafe for ModuleDiff
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