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

pub enum Sign {
    Minus,
    Plus,
}

Variants

Minus
Plus

Methods

impl<T> Sign where T: Int

fn new(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> Hash<__S> for Sign

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

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

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

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

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

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)