pub enum OnConflict {
Error,
FirstWins,
}Expand description
How to treat an import path that resolves to differing content under different include roots.
Variants§
Error
Refuse with BundleError::Conflict (default — no silent drift).
FirstWins
Keep the copy from the first-listed root and continue.
Trait Implementations§
Source§impl Clone for OnConflict
impl Clone for OnConflict
Source§fn clone(&self) -> OnConflict
fn clone(&self) -> OnConflict
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 OnConflict
impl Debug for OnConflict
Source§impl Default for OnConflict
impl Default for OnConflict
Source§fn default() -> OnConflict
fn default() -> OnConflict
Returns the “default value” for a type. Read more
Source§impl PartialEq for OnConflict
impl PartialEq for OnConflict
impl Copy for OnConflict
impl Eq for OnConflict
impl StructuralPartialEq for OnConflict
Auto Trait Implementations§
impl Freeze for OnConflict
impl RefUnwindSafe for OnConflict
impl Send for OnConflict
impl Sync for OnConflict
impl Unpin for OnConflict
impl UnwindSafe for OnConflict
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