pub struct FirefoxInstallation {
pub version: String,
pub path: PathBuf,
pub has_greprefs: bool,
pub has_omni_ja: bool,
}Expand description
Firefox installation information
Represents a Firefox installation directory with metadata about available configuration files.
§Example
use ffcv::FirefoxInstallation;
use std::path::PathBuf;
let install = FirefoxInstallation {
version: "128.0".to_string(),
path: PathBuf::from("/usr/lib/firefox"),
has_greprefs: true,
has_omni_ja: true,
};Fields§
§version: StringFirefox version string (e.g., “128.0”, “115.5.0esr”)
path: PathBufPath to Firefox installation directory
has_greprefs: boolWhether greprefs.js exists in this installation
has_omni_ja: boolWhether omni.ja exists in this installation
Trait Implementations§
Source§impl Clone for FirefoxInstallation
impl Clone for FirefoxInstallation
Source§fn clone(&self) -> FirefoxInstallation
fn clone(&self) -> FirefoxInstallation
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 FirefoxInstallation
impl Debug for FirefoxInstallation
Auto Trait Implementations§
impl Freeze for FirefoxInstallation
impl RefUnwindSafe for FirefoxInstallation
impl Send for FirefoxInstallation
impl Sync for FirefoxInstallation
impl Unpin for FirefoxInstallation
impl UnwindSafe for FirefoxInstallation
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