Enum syntex_syntax::ast::ImplPolarity [] [src]

pub enum ImplPolarity {
    Positive,
    Negative,
}

Variants

Positive

impl Trait for Type

Negative

impl !Trait for Type

Trait Implementations

impl Debug for ImplPolarity

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

Derived Implementations

impl Hash for ImplPolarity

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

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

impl Decodable for ImplPolarity

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

impl Encodable for ImplPolarity

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

impl Eq for ImplPolarity

impl PartialEq for ImplPolarity

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

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

impl Clone for ImplPolarity

fn clone(&self) -> ImplPolarity

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

impl Copy for ImplPolarity