[−][src]Struct uvm_core::unity::Version
Methods
impl Version
[src]
pub fn new(
major: u64,
minor: u64,
patch: u64,
release_type: VersionType,
revision: u64
) -> Version
[src]
major: u64,
minor: u64,
patch: u64,
release_type: VersionType,
revision: u64
) -> Version
pub fn from_path<P: AsRef<Path>>(path: P) -> Result<Version>
[src]
pub fn a(major: u64, minor: u64, patch: u64, revision: u64) -> Version
[src]
pub fn b(major: u64, minor: u64, patch: u64, revision: u64) -> Version
[src]
pub fn p(major: u64, minor: u64, patch: u64, revision: u64) -> Version
[src]
pub fn f(major: u64, minor: u64, patch: u64, revision: u64) -> Version
[src]
pub fn release_type(&self) -> &VersionType
[src]
pub fn version_hash(&self) -> Result<String>
[src]
pub fn major(&self) -> u64
[src]
pub fn minor(&self) -> u64
[src]
pub fn patch(&self) -> u64
[src]
pub fn revision(&self) -> u64
[src]
Trait Implementations
impl AsRef<Version> for Version
[src]
impl Eq for Version
[src]
impl Clone for Version
[src]
impl AsMut<Version> for Version
[src]
impl PartialOrd<Version> for Version
[src]
fn partial_cmp(&self, other: &Version) -> Option<Ordering>
[src]
fn lt(&self, other: &Version) -> bool
[src]
fn le(&self, other: &Version) -> bool
[src]
fn gt(&self, other: &Version) -> bool
[src]
fn ge(&self, other: &Version) -> bool
[src]
impl PartialEq<Version> for Version
[src]
impl Ord for Version
[src]
fn cmp(&self, other: &Version) -> Ordering
[src]
fn max(self, other: Self) -> Self
1.21.0[src]
fn min(self, other: Self) -> Self
1.21.0[src]
fn clamp(self, min: Self, max: Self) -> Self
[src]
impl From<(u64, u64, u64, u64)> for Version
[src]
impl From<Installation> for Version
[src]
fn from(item: Installation) -> Self
[src]
impl Hash for Version
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Debug for Version
[src]
impl Display for Version
[src]
impl FromStr for Version
[src]
type Err = UvmVersionError
The associated error which can be returned from parsing.
fn from_str(s: &str) -> Result<Self>
[src]
impl TryFrom<PathBuf> for Version
[src]
type Error = UvmVersionError
The type returned in the event of a conversion error.
fn try_from(path: PathBuf) -> Result<Self>
[src]
impl<'_> TryFrom<&'_ Path> for Version
[src]
type Error = UvmVersionError
The type returned in the event of a conversion error.
fn try_from(path: &Path) -> Result<Self>
[src]
impl Serialize for Version
[src]
impl<'de> Deserialize<'de> for Version
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
Auto Trait Implementations
impl Sync for Version
impl Send for Version
impl Unpin for Version
impl UnwindSafe for Version
impl RefUnwindSafe for Version
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> DeserializeOwned for T where
T: Deserialize<'de>,
[src]
T: Deserialize<'de>,
impl<Q, K> Equivalent<K> for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<T> Erased for T
impl<'a, T> TryFrom<&'a str> for T where
T: FromStr,
T: FromStr,
type Err = <T as FromStr>::Err
fn try_from(string: &'a str) -> Result<T, <T as TryFrom<&'a str>>::Err>
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
U: TryFrom<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,