pub struct CompilerVersion {
pub major: u16,
pub minor: u16,
pub patch: u16,
}Expand description
Semantic version of the compiler.
Fields§
§major: u16§minor: u16§patch: u16Implementations§
Trait Implementations§
Source§impl Clone for CompilerVersion
impl Clone for CompilerVersion
impl Copy for CompilerVersion
Source§impl Debug for CompilerVersion
impl Debug for CompilerVersion
Source§impl Default for CompilerVersion
impl Default for CompilerVersion
Source§impl<'de> Deserialize<'de> for CompilerVersion
impl<'de> Deserialize<'de> for CompilerVersion
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CompilerVersion
impl Display for CompilerVersion
impl Eq for CompilerVersion
Source§impl FromStr for CompilerVersion
impl FromStr for CompilerVersion
Source§impl Ord for CompilerVersion
impl Ord for CompilerVersion
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CompilerVersion
impl PartialEq for CompilerVersion
Source§impl PartialOrd for CompilerVersion
impl PartialOrd for CompilerVersion
Source§impl Serialize for CompilerVersion
impl Serialize for CompilerVersion
impl StructuralPartialEq for CompilerVersion
Auto Trait Implementations§
impl Freeze for CompilerVersion
impl RefUnwindSafe for CompilerVersion
impl Send for CompilerVersion
impl Sync for CompilerVersion
impl Unpin for CompilerVersion
impl UnsafeUnpin for CompilerVersion
impl UnwindSafe for CompilerVersion
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