# Struct crossbeam::epoch::Shared [−] [src]

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

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

## Methods

### `impl<'a, T> Shared<'a, T>`
[src]

#### `pub fn as_raw(&self) -> *mut T`
[src]

## Trait Implementations

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

#### `fn eq(&self, __arg_0: &Shared<'a, T>) -> bool`
[src]

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

This method tests for `!=`.

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

### `impl<'a, T: Debug + 'a> Debug for Shared<'a, T>`
[src]

#### `fn fmt(&self, __arg_0: &mut Formatter) -> Result`
[src]

Formats the value using the given formatter. Read more

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

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

#### `fn clone(&self) -> Shared<'a, T>`
[src]

Returns a copy of the value. Read more

#### `fn clone_from(&mut self, source: &Self)`
1.0.0
[src]

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

Dereferences the value.

# Help

## Keyboard Shortcuts

`?`
  Show this help dialog
`S`
  Focus the search field
`↑`
  Move up in search results
`↓`
  Move down in search results
`↹`
  Switch tab
`⏎`
  Go to active search result
`+`
  Expand all sections
`-`
  Collapse all sections

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