Skip to main content

ToWeakNode

Trait ToWeakNode 

Source
pub trait ToWeakNode {
    // Required method
    fn to_weak_node(self: Arc<Self>) -> WeakNode;
}
Expand description

Used to convert nodes into WeakNode which is stored in the cache. This should be implemented using the ToWeakNode derive macro.

Required Methods§

Source

fn to_weak_node(self: Arc<Self>) -> WeakNode

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§