# crossbeam::sync::chase_lev::Stealer - Rust
API documentation for the Rust `Stealer` struct in crate `crossbeam`.
Keywords: rust, rustlang, rust-lang, Stealer

# Struct crossbeam::sync::chase_lev::Stealer [−] [src]

    pub struct Stealer<T> { /* fields omitted */ }

The stealing half of the work-stealing deque. Stealers have access to the opposite end of the deque from the worker, and they only have access to the `steal` method.

Stealers can be cloned to have more than one handle active at a time.

## Methods

### `impl<T> Stealer<T>`
[src]

#### `pub fn steal(&self) -> Steal<T>`
[src]

Steals work off the end of the queue (opposite of the worker's end)

## Trait Implementations

### `impl<T: Debug> Debug for Stealer<T>`
[src]

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

Formats the value using the given formatter. Read more

### `impl<T> Clone for Stealer<T>`
[src]

#### `fn clone(&self) -> Stealer<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

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