Struct PythonMinorVersion
pub struct PythonMinorVersion(/* private fields */);Expand description
Python minor version component.
Implementations§
§impl PythonMinorVersion
impl PythonMinorVersion
pub const fn new(value: u16) -> PythonMinorVersion
pub const fn new(value: u16) -> PythonMinorVersion
Creates a Python minor version component.
Trait Implementations§
§impl Clone for PythonMinorVersion
impl Clone for PythonMinorVersion
§fn clone(&self) -> PythonMinorVersion
fn clone(&self) -> PythonMinorVersion
Returns a duplicate 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 more§impl Debug for PythonMinorVersion
impl Debug for PythonMinorVersion
§impl Hash for PythonMinorVersion
impl Hash for PythonMinorVersion
§impl Ord for PythonMinorVersion
impl Ord for PythonMinorVersion
§fn cmp(&self, other: &PythonMinorVersion) -> Ordering
fn cmp(&self, other: &PythonMinorVersion) -> 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
§impl PartialEq for PythonMinorVersion
impl PartialEq for PythonMinorVersion
§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