pub(crate) enum Existing {
Replace,
Keep,
}Expand description
What happens to a top comment block that is not the desired header.
Variants§
Replace
The block is the old header and the desired header replaces it.
Keep
The block belongs to the user and the desired header goes above it.
Implementations§
Trait Implementations§
impl Copy for Existing
impl Eq for Existing
impl StructuralPartialEq for Existing
Auto Trait Implementations§
impl Freeze for Existing
impl RefUnwindSafe for Existing
impl Send for Existing
impl Sync for Existing
impl Unpin for Existing
impl UnsafeUnpin for Existing
impl UnwindSafe for Existing
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
Compare self to
key and return true if they are equal.