Enum syn::CaptureBy
[−]
[src]
pub enum CaptureBy { Value, Ref, }
A capture clause
Variants
Value
Ref
Trait Implementations
impl ToTokens for CaptureBy
[src]
impl Debug for CaptureBy
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for CaptureBy
[src]
impl Clone for CaptureBy
[src]
fn clone(&self) -> CaptureBy
[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 Eq for CaptureBy
[src]
impl PartialEq for CaptureBy
[src]
fn eq(&self, __arg_0: &CaptureBy) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
This method tests for !=
.