Enum extra::bigint::Sign

pub enum Sign {
    Minus,
    Zero,
    Plus,
}

A Sign is a BigInt's composing element.

Trait Implementations

impl std::cmp::Eq for Sign

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

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

impl std::clone::Clone for Sign

fn clone(&self) -> Sign

impl std::cmp::Ord for Sign

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

impl std::cmp::TotalEq for Sign

fn equals(&self, other: &Sign) -> bool

impl std::cmp::TotalOrd for Sign

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

impl std::ops::Neg for Sign

fn neg(&self) -> Sign

Negate Sign value.