Enum pep440_rs::PreReleaseKind
source · pub enum PreReleaseKind {
Alpha,
Beta,
Rc,
}
Expand description
Optional prerelease modifier (alpha, beta or release candidate) appended to version
Variants§
Trait Implementations§
source§impl Clone for PreReleaseKind
impl Clone for PreReleaseKind
source§fn clone(&self) -> PreReleaseKind
fn clone(&self) -> PreReleaseKind
Returns a copy 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 moresource§impl Debug for PreReleaseKind
impl Debug for PreReleaseKind
source§impl Display for PreReleaseKind
impl Display for PreReleaseKind
source§impl Hash for PreReleaseKind
impl Hash for PreReleaseKind
source§impl Ord for PreReleaseKind
impl Ord for PreReleaseKind
source§fn cmp(&self, other: &PreReleaseKind) -> Ordering
fn cmp(&self, other: &PreReleaseKind) -> 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
source§impl PartialEq for PreReleaseKind
impl PartialEq for PreReleaseKind
source§fn eq(&self, other: &PreReleaseKind) -> bool
fn eq(&self, other: &PreReleaseKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for PreReleaseKind
impl PartialOrd for PreReleaseKind
source§fn partial_cmp(&self, other: &PreReleaseKind) -> Option<Ordering>
fn partial_cmp(&self, other: &PreReleaseKind) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for PreReleaseKind
impl Eq for PreReleaseKind
impl StructuralPartialEq for PreReleaseKind
Auto Trait Implementations§
impl RefUnwindSafe for PreReleaseKind
impl Send for PreReleaseKind
impl Sync for PreReleaseKind
impl Unpin for PreReleaseKind
impl UnwindSafe for PreReleaseKind
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