pub enum RevisionRangeKind {
TwoDot,
ThreeDot,
}Expand description
Revision range spelling.
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for RevisionRangeKind
impl Clone for RevisionRangeKind
Source§fn clone(&self) -> RevisionRangeKind
fn clone(&self) -> RevisionRangeKind
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RevisionRangeKind
impl Debug for RevisionRangeKind
Source§impl Display for RevisionRangeKind
impl Display for RevisionRangeKind
Source§impl FromStr for RevisionRangeKind
impl FromStr for RevisionRangeKind
Source§type Err = RevisionParseError
type Err = RevisionParseError
The associated error which can be returned from parsing.
Source§fn from_str(
value: &str,
) -> Result<RevisionRangeKind, <RevisionRangeKind as FromStr>::Err>
fn from_str( value: &str, ) -> Result<RevisionRangeKind, <RevisionRangeKind as FromStr>::Err>
Parses a string
s to return a value of this type. Read moreSource§impl Hash for RevisionRangeKind
impl Hash for RevisionRangeKind
Source§impl Ord for RevisionRangeKind
impl Ord for RevisionRangeKind
Source§fn cmp(&self, other: &RevisionRangeKind) -> Ordering
fn cmp(&self, other: &RevisionRangeKind) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for RevisionRangeKind
impl PartialEq for RevisionRangeKind
Source§fn eq(&self, other: &RevisionRangeKind) -> bool
fn eq(&self, other: &RevisionRangeKind) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for RevisionRangeKind
impl PartialOrd for RevisionRangeKind
impl Copy for RevisionRangeKind
impl Eq for RevisionRangeKind
impl StructuralPartialEq for RevisionRangeKind
Auto Trait Implementations§
impl Freeze for RevisionRangeKind
impl RefUnwindSafe for RevisionRangeKind
impl Send for RevisionRangeKind
impl Sync for RevisionRangeKind
impl Unpin for RevisionRangeKind
impl UnsafeUnpin for RevisionRangeKind
impl UnwindSafe for RevisionRangeKind
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