pub struct ReleaseVersion { /* private fields */ }Implementations§
Source§impl ReleaseVersion
impl ReleaseVersion
pub fn parse(value: &str) -> Result<Self, ReleaseVersionError>
Trait Implementations§
Source§impl Clone for ReleaseVersion
impl Clone for ReleaseVersion
Source§impl Debug for ReleaseVersion
impl Debug for ReleaseVersion
Source§impl Display for ReleaseVersion
impl Display for ReleaseVersion
impl Eq for ReleaseVersion
Source§impl FromStr for ReleaseVersion
impl FromStr for ReleaseVersion
Source§impl Hash for ReleaseVersion
impl Hash for ReleaseVersion
Source§impl Ord for ReleaseVersion
impl Ord for ReleaseVersion
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ReleaseVersion
impl PartialEq for ReleaseVersion
Source§impl PartialOrd for ReleaseVersion
impl PartialOrd for ReleaseVersion
impl StructuralPartialEq for ReleaseVersion
Auto Trait Implementations§
impl Forget for ReleaseVersion
impl Freeze for ReleaseVersion
impl Move for ReleaseVersion
impl RefUnwindSafe for ReleaseVersion
impl Send for ReleaseVersion
impl Sync for ReleaseVersion
impl Unpin for ReleaseVersion
impl UnsafeUnpin for ReleaseVersion
impl UnwindSafe for ReleaseVersion
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