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 StructuralEq for Sep
impl StructuralPartialEq for Sep
Auto Trait Implementations§
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