IsEvent

Trait IsEvent 

Source
pub(crate) trait IsEvent: Clone {
    type EventType: Clone + Copy + PartialEq;

    // Required method
    fn event_type(&self) -> Self::EventType;
}

Required Associated Types§

Required Methods§

Source

fn event_type(&self) -> Self::EventType

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl IsEvent for Event

Source§

impl IsEvent for playwright::imp::browser_context::Evt

Source§

impl IsEvent for playwright::imp::frame::Evt

Source§

impl IsEvent for playwright::imp::page::Evt

Source§

impl IsEvent for playwright::imp::websocket::Evt

Source§

impl IsEvent for playwright::imp::worker::Evt