pub enum Clash {
Refuse,
Skip,
Replace,
}Expand description
What to do when a pack defines a type or link type whose name the model already defines.
Variants§
Refuse
stop and write nothing (the default)
Skip
the definition already there stays; the pack leaves its own out
Replace
the pack’s definition takes over; the one already there is deleted
Trait Implementations§
impl Copy for Clash
impl Eq for Clash
impl StructuralPartialEq for Clash
Auto Trait Implementations§
impl Freeze for Clash
impl RefUnwindSafe for Clash
impl Send for Clash
impl Sync for Clash
impl Unpin for Clash
impl UnsafeUnpin for Clash
impl UnwindSafe for Clash
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,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more