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>
[src]

fn as_raw(&self) -> *mut T

Trait Implementations

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

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

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

This method tests for self and other values to be equal, and is used by ==. Read more

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

This method tests for !=.

impl<'a, T> Copy for Shared<'a, T>
[src]

impl<'a, T> Clone for Shared<'a, T>
[src]

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

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl<'a, T> Deref for Shared<'a, T>
[src]

type Target = &'a T

The resulting type after dereferencing

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

The method called to dereference a value