mirror of
https://github.com/tauri-apps/web-view.git
synced 2026-02-04 02:11:18 +01:00
impl Clone for Handle
This commit is contained in:
committed by
Richard Hozák
parent
3f0bca943c
commit
7ea3f06575
@@ -483,6 +483,7 @@ impl<'a, T> Drop for WebView<'a, T> {
|
||||
/// A thread-safe handle to a [`WebView`] instance. Used to dispatch closures onto its task queue.
|
||||
///
|
||||
/// [`WebView`]: struct.WebView.html
|
||||
#[derive(Clone)]
|
||||
pub struct Handle<T> {
|
||||
inner: *mut CWebView,
|
||||
live: Weak<RwLock<()>>,
|
||||
|
||||
Reference in New Issue
Block a user