Enum RevisionRangeKind
pub enum RevisionRangeKind {
TwoDot,
ThreeDot,
}Expand description
Revision range spelling.
Variants§
Implementations§
§impl RevisionRangeKind
impl RevisionRangeKind
Trait Implementations§
§impl Clone for RevisionRangeKind
impl Clone for RevisionRangeKind
§fn clone(&self) -> RevisionRangeKind
fn clone(&self) -> RevisionRangeKind
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 more§impl Debug for RevisionRangeKind
impl Debug for RevisionRangeKind
§impl Display for RevisionRangeKind
impl Display for RevisionRangeKind
§impl FromStr for RevisionRangeKind
impl FromStr for RevisionRangeKind
§type Err = RevisionParseError
type Err = RevisionParseError
The associated error which can be returned from parsing.
§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 more§impl Hash for RevisionRangeKind
impl Hash for RevisionRangeKind
§impl Ord for RevisionRangeKind
impl Ord for RevisionRangeKind
§fn cmp(&self, other: &RevisionRangeKind) -> Ordering
fn cmp(&self, other: &RevisionRangeKind) -> Ordering
1.21.0 · 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
§impl PartialEq for RevisionRangeKind
impl PartialEq for RevisionRangeKind
§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