pub struct BrowserDetector { /* private fields */ }Implementations§
Source§impl BrowserDetector
impl BrowserDetector
pub fn new() -> Self
pub fn detect_browsers(&self) -> Vec<BrowserType>
pub fn get_browser_base_path( &self, browser_type: BrowserType, ) -> Option<PathBuf>
pub fn list_profiles(&self, browser_type: BrowserType) -> Vec<Profile>
pub fn get_profile( &self, browser_type: BrowserType, profile_name: Option<&str>, ) -> Option<Profile>
Trait Implementations§
Auto Trait Implementations§
impl Freeze for BrowserDetector
impl RefUnwindSafe for BrowserDetector
impl Send for BrowserDetector
impl Sync for BrowserDetector
impl Unpin for BrowserDetector
impl UnsafeUnpin for BrowserDetector
impl UnwindSafe for BrowserDetector
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