Enum syntax::ast::FnStyle[src]

pub enum FnStyle {
    UnsafeFn,
    NormalFn,
}

Variants

UnsafeFn
NormalFn

Trait Implementations

impl Show for FnStyle

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

Derived Implementations

impl<__S: Writer> Hash<__S> for FnStyle

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

impl<__D: Decoder<__E>, __E> Decodable<__D, __E> for FnStyle

fn decode(__arg_0: &mut __D) -> Result<FnStyle, __E>

impl<__S: Encoder<__E>, __E> Encodable<__S, __E> for FnStyle

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

impl Eq for FnStyle

fn assert_receiver_is_total_eq(&self)

impl PartialEq for FnStyle

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

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

impl Clone for FnStyle

fn clone(&self) -> FnStyle

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