[src]

Enum num::bigint::Sign

pub enum Sign {
    Minus,
    Zero,
    Plus,
}

A Sign is a BigInt's composing element.

Variants

Minus
Zero
Plus

Trait Implementations

impl Neg<Sign> for Sign

fn neg(&self) -> Sign

Negate Sign value.

Derived Implementations

impl Show for Sign

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

impl Clone for Sign

fn clone(&self) -> Sign

impl TotalOrd for Sign

fn cmp(&self, __arg_0: &Sign) -> Ordering

impl TotalEq for Sign

fn assert_receiver_is_total_eq(&self)

impl Ord for Sign

fn lt(&self, __arg_0: &Sign) -> bool

fn le(&self, __arg_0: &Sign) -> bool

fn gt(&self, __arg_0: &Sign) -> bool

fn ge(&self, __arg_0: &Sign) -> bool

impl Eq for Sign

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

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