Struct uvm_install2::Installation
source · pub struct Installation { /* private fields */ }
Implementations§
source§impl Installation
impl Installation
pub fn new<P>(path: P) -> Result<Installation, UvmError>
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§
source§impl Clone for Installation
impl Clone for Installation
source§fn clone(&self) -> Installation
fn clone(&self) -> Installation
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for Installation
impl Debug for Installation
source§impl Display for Installation
impl Display for Installation
source§impl From<EditorInstallation> for Installation
impl From<EditorInstallation> for Installation
source§fn from(editor: EditorInstallation) -> Installation
fn from(editor: EditorInstallation) -> Installation
Converts to this type from the input type.
source§impl From<Installation> for EditorInstallation
impl From<Installation> for EditorInstallation
source§fn from(installation: Installation) -> EditorInstallation
fn from(installation: Installation) -> EditorInstallation
Converts to this type from the input type.
source§impl From<Installation> for Version
impl From<Installation> for Version
source§fn from(item: Installation) -> Version
fn from(item: Installation) -> Version
Converts to this type from the input type.
source§impl FromIterator<Installation> for Installations
impl FromIterator<Installation> for Installations
source§fn from_iter<I>(iter: I) -> Installations ⓘwhere
I: IntoIterator<Item = Installation>,
fn from_iter<I>(iter: I) -> Installations ⓘwhere
I: IntoIterator<Item = Installation>,
Creates a value from an iterator. Read more
source§impl Ord for Installation
impl Ord for Installation
source§fn cmp(&self, other: &Installation) -> Ordering
fn cmp(&self, other: &Installation) -> Ordering
1.21.0 · 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
source§impl PartialEq for Installation
impl PartialEq for Installation
source§fn eq(&self, other: &Installation) -> bool
fn eq(&self, other: &Installation) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for Installation
impl PartialOrd for Installation
source§fn partial_cmp(&self, other: &Installation) -> Option<Ordering>
fn partial_cmp(&self, other: &Installation) -> Option<Ordering>
1.0.0 · source§fn 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§
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
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.