Enum num::bigint::Sign []

pub enum Sign {
    Minus,
    NoSign,
    Plus,
}

A Sign is a BigInt's composing element.

Variants

MinusNoSignPlus

Trait Implementations

impl Hash for Sign

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

impl Debug for Sign

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

impl Clone for Sign

fn clone(&self) -> Sign

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Copy for Sign

impl Ord for Sign

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

impl Eq for Sign

impl PartialOrd<Sign> for Sign

fn partial_cmp(&self, __arg_0: &Sign) -> Option<Ordering>

impl PartialEq<Sign> for Sign

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

impl Decodable for Sign

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

impl Encodable for Sign

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

impl Neg for Sign

type Output = Sign

fn neg(self) -> Sign

Negate Sign value.

impl Mul<Sign> for Sign

type Output = Sign

The resulting type after applying the * operator

fn mul(self, other: Sign) -> Sign

The method for the * operator