Struct uvm_core::unity::Installation
source · pub struct Installation { /* private fields */ }
Implementations
sourceimpl Installation
impl Installation
pub fn new<P: AsRef<Path>>(path: P) -> Result<Installation>
pub fn installed_components(&self) -> InstalledComponents ⓘ
pub fn version(&self) -> &Version
pub fn version_owned(&self) -> Version
pub fn path(&self) -> &PathBuf
pub fn location(&self) -> PathBuf
pub fn exec_path(&self) -> PathBuf
Trait Implementations
sourceimpl Clone for Installation
impl Clone for Installation
sourcefn clone(&self) -> Installation
fn clone(&self) -> Installation
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for Installation
impl Debug for Installation
sourceimpl Display for Installation
impl Display for Installation
sourceimpl From<EditorInstallation> for Installation
impl From<EditorInstallation> for Installation
sourcefn from(editor: EditorInstallation) -> Self
fn from(editor: EditorInstallation) -> Self
Converts to this type from the input type.
sourceimpl From<Installation> for EditorInstallation
impl From<Installation> for EditorInstallation
sourcefn from(installation: Installation) -> Self
fn from(installation: Installation) -> Self
Converts to this type from the input type.
sourceimpl From<Installation> for Version
impl From<Installation> for Version
sourcefn from(item: Installation) -> Self
fn from(item: Installation) -> Self
Converts to this type from the input type.
sourceimpl FromIterator<Installation> for Installations
impl FromIterator<Installation> for Installations
sourcefn from_iter<I: IntoIterator<Item = Installation>>(iter: I) -> Self
fn from_iter<I: IntoIterator<Item = Installation>>(iter: I) -> Self
Creates a value from an iterator. Read more
sourceimpl Ord for Installation
impl Ord for Installation
sourcefn cmp(&self, other: &Installation) -> Ordering
fn cmp(&self, other: &Installation) -> Ordering
1.21.0 · sourcefn 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 · sourcefn 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
1.50.0 · sourcefn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
fn clamp(self, min: Self, max: Self) -> Selfwhere
Self: Sized + PartialOrd<Self>,
Restrict a value to a certain interval. Read more
sourceimpl PartialEq<Installation> for Installation
impl PartialEq<Installation> for Installation
sourcefn eq(&self, other: &Installation) -> bool
fn eq(&self, other: &Installation) -> bool
sourceimpl PartialOrd<Installation> for Installation
impl PartialOrd<Installation> for Installation
sourcefn partial_cmp(&self, other: &Installation) -> Option<Ordering>
fn partial_cmp(&self, other: &Installation) -> Option<Ordering>
1.0.0 · sourcefn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Eq for Installation
impl StructuralEq for Installation
impl StructuralPartialEq for Installation
Auto Trait Implementations
impl RefUnwindSafe for Installation
impl Send for Installation
impl Sync for Installation
impl Unpin for Installation
impl UnwindSafe for Installation
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
sourcefn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.