Enum syntex_syntax::ast::Sign [] [src]

pub enum Sign {
    Minus,
    Plus,
}

Variants

Minus
Plus

Methods

impl Sign

fn new<T: IntSign>(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, __D::Error>

impl Encodable for Sign

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

impl Eq for Sign

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)