Enum syntax::ast::ClosureKindUnstable [-]  [+] [src]

pub enum ClosureKind {
    FnClosureKind,
    FnMutClosureKind,
    FnOnceClosureKind,
}

Variants

FnClosureKind
FnMutClosureKind
FnOnceClosureKind

Trait Implementations

Derived Implementations

impl Copy for ClosureKind

impl Debug for ClosureKind

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

impl<__S: Writer + Hasher> Hash<__S> for ClosureKind

fn hash(&self, __arg_0: &mut __S)

impl Decodable for ClosureKind

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

impl Encodable for ClosureKind

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

impl Eq for ClosureKind

fn assert_receiver_is_total_eq(&self)

impl PartialEq for ClosureKind

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

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

impl Clone for ClosureKind

fn clone(&self) -> ClosureKind

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