pub struct ModClassifyConfig {
pub save_breaking_ext: &'static [&'static str],
pub cosmetic_ext: &'static [&'static str],
pub save_breaking_dirs: &'static [&'static str],
}Expand description
Configuration for extension-based mod classification.
Both Bethesda and Cyberpunk games classify mods by scanning file extensions (and optionally directory paths). This struct captures the game-specific lists so the shared walker can be reused via static dispatch.
Fields§
§save_breaking_ext: &'static [&'static str]File extensions that indicate save-breaking content (lowercase, no dot).
cosmetic_ext: &'static [&'static str]File extensions that indicate cosmetic-only content (lowercase, no dot).
save_breaking_dirs: &'static [&'static str]Directory path fragments (relative, /-separated) that signal save-breaking content.
Checked via contains() on the normalized relative path. Empty slice to skip.
Auto Trait Implementations§
impl Freeze for ModClassifyConfig
impl RefUnwindSafe for ModClassifyConfig
impl Send for ModClassifyConfig
impl Sync for ModClassifyConfig
impl Unpin for ModClassifyConfig
impl UnsafeUnpin for ModClassifyConfig
impl UnwindSafe for ModClassifyConfig
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