# 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)`1.0.0

### `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`

# Help

## Keyboard Shortcuts

?
  Show this help dialog
S
  Focus the search field
⇤
  Move up in search results
⇥
  Move down in search results
⏎
  Go to active search result

## Search Tricks

Prefix searches with a type followed by a colon (e.g. `fn:`) to restrict the search to a given type.

Accepted types are: `fn`, `mod`, `struct`, `enum`, `trait`, `type`, `macro`, and `const`.

Search functions by type signature (e.g. `vec -> usize` or `* -> vec`)