playwright 0.0.20

Playwright port to Rust
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
use crate::imp::core::*;

#[derive(Debug)]
pub(crate) struct BindingCall {
    channel: ChannelOwner
}

impl BindingCall {
    pub(crate) fn new(channel: ChannelOwner) -> Self { Self { channel } }
}

impl RemoteObject for BindingCall {
    fn channel(&self) -> &ChannelOwner { &self.channel }
    fn channel_mut(&mut self) -> &mut ChannelOwner { &mut self.channel }
}