Enum clippy::consts::Sign [] [src]

pub enum Sign {
    Plus,
    Minus,
}

Variants

Plus
Minus

Trait Implementations

Derived Implementations

impl Hash for Sign

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

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

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

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

impl Debug for Sign

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

impl Eq for Sign

impl Copy for Sign