pub enum Animations {
Allow,
Disabled,
}Expand description
Animation control for screenshots
See: https://playwright.dev/docs/api/class-locatorassertions#locator-assertions-to-have-screenshot-1
Variants§
Allow
Allow animations to run normally
Disabled
Disable CSS animations and transitions before capturing
Trait Implementations§
Source§impl Clone for Animations
impl Clone for Animations
Source§fn clone(&self) -> Animations
fn clone(&self) -> Animations
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 Animations
impl Debug for Animations
Source§impl PartialEq for Animations
impl PartialEq for Animations
impl Copy for Animations
impl Eq for Animations
impl StructuralPartialEq for Animations
Auto Trait Implementations§
impl Freeze for Animations
impl RefUnwindSafe for Animations
impl Send for Animations
impl Sync for Animations
impl Unpin for Animations
impl UnsafeUnpin for Animations
impl UnwindSafe for Animations
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