pub enum Sep {
Colon,
Hyphen,
Plus,
Underscore,
Tilde,
}Expand description
Symbols that separate groups of digits/letters in a version number. Used in
the Mess.
These are:
- A colon (:). Often denotes an “epoch”.
- A hyphen (-).
- A tilde (~). Example:
12.0.0-3ubuntu1~20.04.5 - A plus (+). Stop using this outside of metadata if you are. Example:
10.2+0.93+1-1 - An underscore (_). Stop using this if you are.
Variants§
Trait Implementations§
impl Eq for Sep
impl StructuralPartialEq for Sep
Auto Trait Implementations§
impl Freeze for Sep
impl RefUnwindSafe for Sep
impl Send for Sep
impl Sync for Sep
impl Unpin for Sep
impl UnwindSafe for Sep
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<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