pub struct RegAllocVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
pub pre: Option<String>,
}Expand description
A version tag for RegAlloc output artifacts.
Fields§
§major: u32§minor: u32§patch: u32§pre: Option<String>Implementations§
Trait Implementations§
Source§impl Clone for RegAllocVersion
impl Clone for RegAllocVersion
Source§fn clone(&self) -> RegAllocVersion
fn clone(&self) -> RegAllocVersion
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 moreSource§impl Debug for RegAllocVersion
impl Debug for RegAllocVersion
Source§impl Display for RegAllocVersion
impl Display for RegAllocVersion
Source§impl Hash for RegAllocVersion
impl Hash for RegAllocVersion
Source§impl Ord for RegAllocVersion
impl Ord for RegAllocVersion
Source§fn cmp(&self, other: &RegAllocVersion) -> Ordering
fn cmp(&self, other: &RegAllocVersion) -> 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
Source§impl PartialEq for RegAllocVersion
impl PartialEq for RegAllocVersion
Source§impl PartialOrd for RegAllocVersion
impl PartialOrd for RegAllocVersion
impl Eq for RegAllocVersion
impl StructuralPartialEq for RegAllocVersion
Auto Trait Implementations§
impl Freeze for RegAllocVersion
impl RefUnwindSafe for RegAllocVersion
impl Send for RegAllocVersion
impl Sync for RegAllocVersion
impl Unpin for RegAllocVersion
impl UnsafeUnpin for RegAllocVersion
impl UnwindSafe for RegAllocVersion
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