implement copy for eval (#4655)
This commit is contained in:
1 parent
a9ef9af980
commit
539ede2041
1 file changed
+8
@@ -57,6 +57,14 @@ impl IntoFuture for Eval {
|
||||
}
|
||||
}
|
||||
|
||||
impl Clone for Eval {
|
||||
fn clone(&self) -> Self {
|
||||
*self
|
||||
}
|
||||
}
|
||||
|
||||
impl Copy for Eval {}
|
||||
|
||||
/// The platform's evaluator.
|
||||
pub trait Evaluator {
|
||||
/// Sends a message to the evaluated JavaScript.
|
||||
|
||||
Reference in new issue
Block a user