Enum syntex_syntax::ast::CaptureClause [] [src]

pub enum CaptureClause {
    CaptureByValue,
    CaptureByRef,
}

Variants

CaptureByValue
CaptureByRef

Trait Implementations

Derived Implementations

impl Copy for CaptureClause

impl Debug for CaptureClause

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for CaptureClause

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for CaptureClause

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<CaptureClause, __D::Error>

impl Encodable for CaptureClause

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for CaptureClause

impl PartialEq for CaptureClause

fn eq(&self, __arg_0: &CaptureClause) -> bool

fn ne(&self, __arg_0: &CaptureClause) -> bool

impl Clone for CaptureClause

fn clone(&self) -> CaptureClause

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