Struct PythonPatchVersion
pub struct PythonPatchVersion(/* private fields */);Expand description
Python patch version component.
Implementations§
§impl PythonPatchVersion
impl PythonPatchVersion
pub const fn new(value: u16) -> PythonPatchVersion
pub const fn new(value: u16) -> PythonPatchVersion
Creates a Python patch version component.
Trait Implementations§
§impl Clone for PythonPatchVersion
impl Clone for PythonPatchVersion
§fn clone(&self) -> PythonPatchVersion
fn clone(&self) -> PythonPatchVersion
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 PythonPatchVersion
impl Debug for PythonPatchVersion
§impl Hash for PythonPatchVersion
impl Hash for PythonPatchVersion
§impl Ord for PythonPatchVersion
impl Ord for PythonPatchVersion
§fn cmp(&self, other: &PythonPatchVersion) -> Ordering
fn cmp(&self, other: &PythonPatchVersion) -> 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 PythonPatchVersion
impl PartialEq for PythonPatchVersion
§impl PartialOrd for PythonPatchVersion
impl PartialOrd for PythonPatchVersion
impl Copy for PythonPatchVersion
impl Eq for PythonPatchVersion
impl StructuralPartialEq for PythonPatchVersion
Auto Trait Implementations§
impl Freeze for PythonPatchVersion
impl RefUnwindSafe for PythonPatchVersion
impl Send for PythonPatchVersion
impl Sync for PythonPatchVersion
impl Unpin for PythonPatchVersion
impl UnsafeUnpin for PythonPatchVersion
impl UnwindSafe for PythonPatchVersion
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