pub struct PythonMinorVersion(/* private fields */);Expand description
Python minor version component.
Implementations§
Trait Implementations§
Source§impl Clone for PythonMinorVersion
impl Clone for PythonMinorVersion
Source§fn clone(&self) -> PythonMinorVersion
fn clone(&self) -> PythonMinorVersion
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PythonMinorVersion
impl Debug for PythonMinorVersion
Source§impl Hash for PythonMinorVersion
impl Hash for PythonMinorVersion
Source§impl Ord for PythonMinorVersion
impl Ord for PythonMinorVersion
Source§fn cmp(&self, other: &PythonMinorVersion) -> Ordering
fn cmp(&self, other: &PythonMinorVersion) -> Ordering
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
Source§impl PartialEq for PythonMinorVersion
impl PartialEq for PythonMinorVersion
Source§fn eq(&self, other: &PythonMinorVersion) -> bool
fn eq(&self, other: &PythonMinorVersion) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for PythonMinorVersion
impl PartialOrd for PythonMinorVersion
impl Copy for PythonMinorVersion
impl Eq for PythonMinorVersion
impl StructuralPartialEq for PythonMinorVersion
Auto Trait Implementations§
impl Freeze for PythonMinorVersion
impl RefUnwindSafe for PythonMinorVersion
impl Send for PythonMinorVersion
impl Sync for PythonMinorVersion
impl Unpin for PythonMinorVersion
impl UnsafeUnpin for PythonMinorVersion
impl UnwindSafe for PythonMinorVersion
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