#[non_exhaustive]pub enum SemLevel {
Major,
Minor,
Patch,
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Major
Refers to the major version specifier,<MAJOR>
. It is greater than <MINOR>
and <PATCH>
.
Minor
Refers to the minor version specifier,<MINOR>
. It is greater than <PATCH>
and less than
<MAJOR>
.
Patch
Refers to the patch version specifier,<PATCH>
. It is less than <MINOR>
and <MAJOR>
.
Trait Implementations§
source§impl PartialEq for SemLevel
impl PartialEq for SemLevel
impl Copy for SemLevel
impl Eq for SemLevel
impl StructuralPartialEq for SemLevel
Auto Trait Implementations§
impl RefUnwindSafe for SemLevel
impl Send for SemLevel
impl Sync for SemLevel
impl Unpin for SemLevel
impl UnwindSafe for SemLevel
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