Skip to main content

Handle

Trait Handle 

Source
pub trait Handle: Clone {
    // Provided method
    fn clone_handle(&self) -> Self { ... }
}

Provided Methods§

Source

fn clone_handle(&self) -> Self

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.

Implementations on Foreign Types§

Source§

impl<T> Handle for Rc<T>
where T: ?Sized,

Available on crate feature std only.
Source§

impl<T> Handle for Arc<T>
where T: ?Sized,

Available on crate feature std only.
Source§

impl<T> Handle for RefCell<T>
where T: Clone + ?Sized,

Implementors§

Source§

impl<T> Handle for hexga::rc::RcWeak<T>
where T: ?Sized,

Available on crate feature std only.
Source§

impl<T> Handle for hexga::sync::ArcWeak<T>
where T: ?Sized,

Available on crate feature std only.