pub trait Shared {
    // Required methods
    fn unique(&self) -> bool;
    fn as_ptr(&self) -> *const ();
}

Required Methods§

source

fn unique(&self) -> bool

source

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

Implementations on Foreign Types§

source§

impl<'a, T> Shared for &'a T

source§

fn unique(&self) -> bool

source§

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

source§

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

source§

fn unique(&self) -> bool

source§

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

Implementors§

source§

impl Shared for ArcKind

source§

impl Shared for Symbol

source§

impl<Id> Shared for ArcType<Id>
where Id: PartialEq,