pub struct Browser {
pub name: String,
pub family: Option<String>,
pub variant: Option<String>,
pub kind: Type,
}
Expand description
Represents a browser.
This struct contains the name, family, variant, and kind of browser. Examples:
- name: “”, family: “chrome”, variant: “11.x to 26.x”, kind: Type::Specified
- name: “”, family: “firefox”, variant: “3.x”, kind: Type::Specified
Fields§
§name: String
§family: Option<String>
§variant: Option<String>
§kind: Type
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Browser
impl RefUnwindSafe for Browser
impl Send for Browser
impl Sync for Browser
impl Unpin for Browser
impl UnwindSafe for Browser
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