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