pub struct ModPairCollision {
pub loser: ModId,
pub winner: ModId,
pub files: Vec<FileCollision>,
pub max_severity: CollisionSeverity,
}Expand description
Aggregated collision info between a specific pair of mods.
Fields§
§loser: ModIdThe lower-priority mod (the one that loses files).
winner: ModIdThe higher-priority mod (the one that wins files).
files: Vec<FileCollision>Individual file collisions in this pair.
max_severity: CollisionSeverityWorst severity among all collisions in this pair.
Trait Implementations§
Source§impl Clone for ModPairCollision
impl Clone for ModPairCollision
Source§fn clone(&self) -> ModPairCollision
fn clone(&self) -> ModPairCollision
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 moreAuto Trait Implementations§
impl Freeze for ModPairCollision
impl RefUnwindSafe for ModPairCollision
impl Send for ModPairCollision
impl Sync for ModPairCollision
impl Unpin for ModPairCollision
impl UnsafeUnpin for ModPairCollision
impl UnwindSafe for ModPairCollision
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