#[non_exhaustive]pub struct ImportedMods {
pub installed: Vec<String>,
pub unchanged: Vec<String>,
}Expand description
What import_r2z_in and import_code_in did with each mod the import
covers.
Both lists include the dependency closure, are sorted and deduplicated, and never name the same identifier.
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.installed: Vec<String>Identifiers this import installed or reinstalled.
unchanged: Vec<String>Identifiers skipped because the target already recorded the version that would be installed, with its files in place.
Skipped means not reinstalled, not untouched: the import still applies the export’s enabled state, so a mod listed here may have been enabled or disabled to match it.
Trait Implementations§
Source§impl Clone for ImportedMods
impl Clone for ImportedMods
Source§impl Debug for ImportedMods
impl Debug for ImportedMods
Source§impl Default for ImportedMods
impl Default for ImportedMods
impl Eq for ImportedMods
Source§impl PartialEq for ImportedMods
impl PartialEq for ImportedMods
impl StructuralPartialEq for ImportedMods
Auto Trait Implementations§
impl Freeze for ImportedMods
impl RefUnwindSafe for ImportedMods
impl Send for ImportedMods
impl Sync for ImportedMods
impl Unpin for ImportedMods
impl UnsafeUnpin for ImportedMods
impl UnwindSafe for ImportedMods
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.