pub enum KeyAdded<'u> {
No,
Fits(&'u str),
Foreign,
}Expand description
How a merge whose target has the categories cats treats one unit (key_added).
Variants§
No
Not an added key-style form.
Fits(&'u str)
Added for this category of the same target categories: the merge may write it.
Foreign
Added for another target’s categories (or the merge has no target): the merge must not write it.
Trait Implementations§
impl<'u> Copy for KeyAdded<'u>
impl<'u> Eq for KeyAdded<'u>
impl<'u> StructuralPartialEq for KeyAdded<'u>
Auto Trait Implementations§
impl<'u> Forget for KeyAdded<'u>
impl<'u> Freeze for KeyAdded<'u>
impl<'u> Move for KeyAdded<'u>
impl<'u> RefUnwindSafe for KeyAdded<'u>
impl<'u> Send for KeyAdded<'u>
impl<'u> Sync for KeyAdded<'u>
impl<'u> Unpin for KeyAdded<'u>
impl<'u> UnsafeUnpin for KeyAdded<'u>
impl<'u> UnwindSafe for KeyAdded<'u>
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