#[non_exhaustive]pub struct StartCSSCoverageOptions {
pub reset_on_navigation: Option<bool>,
}Expand description
Options for Coverage::start_css_coverage.
See: https://playwright.dev/docs/api/class-coverage#coverage-start-css-coverage
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.Whether to reset coverage on every navigation.
Defaults to true.
Trait Implementations§
Source§impl Clone for StartCSSCoverageOptions
impl Clone for StartCSSCoverageOptions
Source§fn clone(&self) -> StartCSSCoverageOptions
fn clone(&self) -> StartCSSCoverageOptions
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 StartCSSCoverageOptions
impl Debug for StartCSSCoverageOptions
Source§impl Default for StartCSSCoverageOptions
impl Default for StartCSSCoverageOptions
Source§fn default() -> StartCSSCoverageOptions
fn default() -> StartCSSCoverageOptions
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for StartCSSCoverageOptions
impl RefUnwindSafe for StartCSSCoverageOptions
impl Send for StartCSSCoverageOptions
impl Sync for StartCSSCoverageOptions
impl Unpin for StartCSSCoverageOptions
impl UnsafeUnpin for StartCSSCoverageOptions
impl UnwindSafe for StartCSSCoverageOptions
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