pub enum ExportChange {
Modified,
New,
}Expand description
Whether the export existed before the change.
Variants§
Modified
The file exported this name at the base of the diff, and the diff
changes its declaration. An edited, rewritten or moved declaration is
modified.
New
The file did not export this name at the base: a new export, a renamed export, or an export of a new file.
Trait Implementations§
Source§impl Clone for ExportChange
impl Clone for ExportChange
impl Copy for ExportChange
Source§impl Debug for ExportChange
impl Debug for ExportChange
impl Eq for ExportChange
Source§impl Ord for ExportChange
impl Ord for ExportChange
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ExportChange
impl PartialEq for ExportChange
Source§impl PartialOrd for ExportChange
impl PartialOrd for ExportChange
Source§impl Serialize for ExportChange
impl Serialize for ExportChange
impl StructuralPartialEq for ExportChange
Auto Trait Implementations§
impl Freeze for ExportChange
impl RefUnwindSafe for ExportChange
impl Send for ExportChange
impl Sync for ExportChange
impl Unpin for ExportChange
impl UnsafeUnpin for ExportChange
impl UnwindSafe for ExportChange
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.