error[E0599]: no method named `clone` found for struct `WorkerBridge` in the current scope
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yew-agent-0.3.0/src/worker/hooks.rs:45:31
|
45 | inner: self.inner.clone(),
| ^^^^^ method not found in `WorkerBridge<T>`
error[E0599]: no method named `clone` found for struct `WorkerBridge` in the current scope
-->~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yew-agent-0.3.0/src/worker/hooks.rs:109:26
|
109 | inner: (*bridge).clone(),
| ^^^^^ method not found in `WorkerBridge<T>`
error[E0599]: no method named `clone` found for mutable reference `&mut WorkerBridge<W>` in the current scope
-->~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yew-agent-0.3.0/src/worker/provider.rs:70:26
|
70 | Some(m) => m.clone(),
| ^^^^^ method not found in `&mut WorkerBridge<W>`
error[E0599]: no method named `clone` found for struct `WorkerBridge` in the current scope
--> ~/.cargo/registry/src/index.crates.io-6f17d22bba15001f/yew-agent-0.3.0/src/worker/provider.rs:73:44
|
73 | *held_bridge = Some(bridge.clone());
| ^^^^^ method not found in `WorkerBridge<W>`
For more information about this error, try `rustc --explain E0599`.
error: could not compile `yew-agent` (lib) due to 4 previous errors
Problem
Can not build yew-agent 0.3.0
Screenshots
Environment:
wasm32-unknown-unknowntrunk