Trait rkyv::de::SharedPointer

source ·
pub trait SharedPointer {
    // Required method
    fn data_address(&self) -> *const ();
}
Expand description

A deserializable shared pointer type.

Required Methods§

source

fn data_address(&self) -> *const ()

Returns the data address for this shared pointer.

Implementations on Foreign Types§

source§

impl<T: ?Sized> SharedPointer for Rc<T>

source§

impl<T: ?Sized> SharedPointer for Arc<T>

Implementors§