#[non_exhaustive]pub struct InstallEntry {
pub source: PathBuf,
pub dest_relative: PathBuf,
pub tracking: TrackingMethod,
}Expand description
A single source -> destination mapping within an install plan.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.source: PathBufAbsolute path to the source file within the extracted package (or, for a
package-zip install, the package archive itself).
dest_relative: PathBufDestination path relative to the profile/loader root.
tracking: TrackingMethodHow this file is tracked, which governs whether it is namespaced, recorded for uninstall, and whether an existing file is preserved.
Trait Implementations§
Source§impl Clone for InstallEntry
impl Clone for InstallEntry
Source§fn clone(&self) -> InstallEntry
fn clone(&self) -> InstallEntry
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 InstallEntry
impl Debug for InstallEntry
impl Eq for InstallEntry
Source§impl PartialEq for InstallEntry
impl PartialEq for InstallEntry
impl StructuralPartialEq for InstallEntry
Auto Trait Implementations§
impl Freeze for InstallEntry
impl RefUnwindSafe for InstallEntry
impl Send for InstallEntry
impl Sync for InstallEntry
impl Unpin for InstallEntry
impl UnsafeUnpin for InstallEntry
impl UnwindSafe for InstallEntry
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.