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