pub struct Bg3Scanner;Expand description
ModScanner that discovers installed BG3 .pak mods.
Trait Implementations§
Source§impl ModScanner for Bg3Scanner
impl ModScanner for Bg3Scanner
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 Bg3Scanner
impl RefUnwindSafe for Bg3Scanner
impl Send for Bg3Scanner
impl Sync for Bg3Scanner
impl Unpin for Bg3Scanner
impl UnsafeUnpin for Bg3Scanner
impl UnwindSafe for Bg3Scanner
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