pub struct StdVersion {
pub major: u32,
pub minor: u32,
pub patch: u32,
pub pre: &'static str,
}Expand description
Version information for the OxiLean standard library.
Fields§
§major: u32Major version number.
minor: u32Minor version number.
patch: u32Patch version number.
pre: &'static strPre-release label (empty for stable).
Implementations§
Source§impl StdVersion
impl StdVersion
Sourcepub const CURRENT: StdVersion
pub const CURRENT: StdVersion
The current standard library version.
Sourcepub fn format_version(&self) -> String
pub fn format_version(&self) -> String
Format as a semver string.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for StdVersion
impl RefUnwindSafe for StdVersion
impl Send for StdVersion
impl Sync for StdVersion
impl Unpin for StdVersion
impl UnsafeUnpin for StdVersion
impl UnwindSafe for StdVersion
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