pub struct DuplicateStem {
pub stem: String,
pub paths: Vec<String>,
pub variants: usize,
}Expand description
One contract stem claimed by more than one file, with divergent content.
Fields§
§stem: StringThe colliding stem, e.g. apr-architecture-schema-v1.
paths: Vec<String>Every path claiming the stem, sorted. Always at least 2 entries.
variants: usizeNumber of DISTINCT contents among those paths. Always at least 2.
Trait Implementations§
Source§impl Clone for DuplicateStem
impl Clone for DuplicateStem
Source§fn clone(&self) -> DuplicateStem
fn clone(&self) -> DuplicateStem
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 DuplicateStem
impl Debug for DuplicateStem
impl Eq for DuplicateStem
Source§impl PartialEq for DuplicateStem
impl PartialEq for DuplicateStem
impl StructuralPartialEq for DuplicateStem
Auto Trait Implementations§
impl Freeze for DuplicateStem
impl RefUnwindSafe for DuplicateStem
impl Send for DuplicateStem
impl Sync for DuplicateStem
impl Unpin for DuplicateStem
impl UnsafeUnpin for DuplicateStem
impl UnwindSafe for DuplicateStem
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> 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.