pub enum MergePriority {
Bottom,
Neutral,
Numeral(Number),
Top,
}Variants§
Bottom
The priority of default values that are overridden by everything else.
Neutral
The priority by default, when no priority annotation (default, force, priority) is
provided.
Act as the value MergePriority::Numeral(0) with respect to ordering and equality
testing. The only way to discriminate this variant is to pattern match on it.
Numeral(Number)
A numeral priority.
Top
The priority of values that override everything else and can’t be overridden.
Trait Implementations§
Source§impl Clone for MergePriority
impl Clone for MergePriority
Source§fn clone(&self) -> MergePriority
fn clone(&self) -> MergePriority
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 MergePriority
impl Debug for MergePriority
Source§impl Default for MergePriority
impl Default for MergePriority
Source§fn default() -> MergePriority
fn default() -> MergePriority
Returns the “default value” for a type. Read more
Source§impl Display for MergePriority
impl Display for MergePriority
Source§impl Ord for MergePriority
impl Ord for MergePriority
Source§impl PartialEq for MergePriority
impl PartialEq for MergePriority
Source§impl PartialOrd for MergePriority
impl PartialOrd for MergePriority
Source§impl Serialize for MergePriority
impl Serialize for MergePriority
impl Eq for MergePriority
Auto Trait Implementations§
impl Freeze for MergePriority
impl RefUnwindSafe for MergePriority
impl Send for MergePriority
impl Sync for MergePriority
impl Unpin for MergePriority
impl UnsafeUnpin for MergePriority
impl UnwindSafe for MergePriority
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,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more