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

pub enum Sign {
    Minus,
    Plus,
}

Variants

Minus
Plus

Methods

impl Sign

fn new<T: Int>(n: T) -> Sign

Trait Implementations

Derived Implementations

impl Copy for Sign

impl Show for Sign

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

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

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

impl Decodable for Sign

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

impl Encodable for Sign

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

impl Eq for Sign

fn assert_receiver_is_total_eq(&self)

impl PartialEq for Sign

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

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

impl Clone for Sign

fn clone(&self) -> Sign

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