pub struct Witcher3Scanner;Expand description
ModScanner that discovers installed Witcher 3 mods.
Trait Implementations§
Source§impl ModScanner for Witcher3Scanner
impl ModScanner for Witcher3Scanner
Source§fn scan_directories(&self) -> &[&str]
fn scan_directories(&self) -> &[&str]
Install-relative directories this scanner inspects for mods.
Source§fn scan_filesystem(&self, ctx: &ScanContext<'_>) -> Result<Vec<DiscoveredMod>>
fn scan_filesystem(&self, ctx: &ScanContext<'_>) -> Result<Vec<DiscoveredMod>>
Scan the filesystem for installed mods and return what was discovered.
Source§fn mod_id_footprint(&self, mod_id: &str) -> Option<ModFootprint>
fn mod_id_footprint(&self, mod_id: &str) -> Option<ModFootprint>
Inverse of
ModScanner::scan_filesystem’s mod_id scheme: given
a mod_id this scanner would produce, return the filesystem footprint
that mod owns (directory subtree or single file). Read moreAuto Trait Implementations§
impl Freeze for Witcher3Scanner
impl RefUnwindSafe for Witcher3Scanner
impl Send for Witcher3Scanner
impl Sync for Witcher3Scanner
impl Unpin for Witcher3Scanner
impl UnsafeUnpin for Witcher3Scanner
impl UnwindSafe for Witcher3Scanner
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