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 Debug for Sign

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

impl Hash for Sign

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

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

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)