Struct crossbeam::mem::epoch::Shared [] [src]

pub struct Shared<'a, T: 'a> {
    // some fields omitted
}

Like &'a T: a shared reference valid for lifetime 'a.

Methods

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

fn as_raw(&self) -> *mut T

Trait Implementations

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

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

fn clone(&self) -> Shared<'a, T>

fn clone_from(&mut self, source: &Self)

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

type Target = &'a T

fn deref(&self) -> &&'a T

Derived Implementations

impl<'a, T: Eq + 'a> Eq for Shared<'a, T>

impl<'a, T: PartialEq + 'a> PartialEq for Shared<'a, T>

fn eq(&self, __arg_0: &Shared<'a, T>) -> bool

fn ne(&self, __arg_0: &Shared<'a, T>) -> bool