Struct mozversion::Version
source · [−]pub struct Version {
pub major: u64,
pub minor: u64,
pub patch: u64,
pub pre: Option<(String, u64)>,
pub esr: bool,
}
Expand description
Version number information
Fields
major: u64
Major version number (e.g. 55 in 55.0)
minor: u64
Minor version number (e.g. 1 in 55.1)
patch: u64
Patch version number (e.g. 2 in 55.1.2)
pre: Option<(String, u64)>
Prerelase information (e.g. Some((“a”, 1)) in 55.0a1)
esr: bool
Is build an ESR build
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Version
impl Send for Version
impl Sync for Version
impl Unpin for Version
impl UnwindSafe for Version
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more