pub struct Driver {
path: PathBuf,
}Fields§
§path: PathBufImplementations§
Source§impl Driver
impl Driver
const ZIP: &'static [u8] = b""
const PLATFORM: &'static str = "linux"
pub fn install() -> Result<Self>
pub fn default_dest() -> PathBuf
pub fn platform(&self) -> Platform
pub fn executable(&self) -> PathBuf
Sourcepub fn cli_script(&self) -> PathBuf
pub fn cli_script(&self) -> PathBuf
Returns the path to the CLI script for Playwright 1.50+
Trait Implementations§
impl StructuralPartialEq for Driver
Auto Trait Implementations§
impl Freeze for Driver
impl RefUnwindSafe for Driver
impl Send for Driver
impl Sync for Driver
impl Unpin for Driver
impl UnwindSafe for Driver
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