pub struct InstalledMod {
pub manifest: Manifest,
pub mod_json: ModJSON,
pub author: String,
pub path: PathBuf,
}Expand description
Represents an installed package
Fields§
§manifest: Manifest§mod_json: ModJSON§path: PathBufTrait Implementations§
Source§impl Clone for InstalledMod
impl Clone for InstalledMod
Source§fn clone(&self) -> InstalledMod
fn clone(&self) -> InstalledMod
Returns a duplicate 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 InstalledMod
impl Debug for InstalledMod
Source§impl Default for InstalledMod
impl Default for InstalledMod
Source§fn default() -> InstalledMod
fn default() -> InstalledMod
Returns the “default value” for a type. Read more
Source§impl Ord for InstalledMod
InstalledMods are ordered by their author, then manifest name, then mod.json name
impl Ord for InstalledMod
InstalledMods are ordered by their author, then manifest name, then mod.json name
Source§impl PartialEq for InstalledMod
impl PartialEq for InstalledMod
Source§impl PartialOrd for InstalledMod
impl PartialOrd for InstalledMod
impl Eq for InstalledMod
impl StructuralPartialEq for InstalledMod
Auto Trait Implementations§
impl Freeze for InstalledMod
impl RefUnwindSafe for InstalledMod
impl Send for InstalledMod
impl Sync for InstalledMod
impl Unpin for InstalledMod
impl UnwindSafe for InstalledMod
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<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<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.