Enum num_bigint::Sign
source · pub enum Sign {
Minus,
NoSign,
Plus,
}
Expand description
A Sign is a BigInt
’s composing element.
Variants§
Trait Implementations§
source§impl<'de> Deserialize<'de> for Sign
impl<'de> Deserialize<'de> for Sign
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Ord for Sign
impl Ord for Sign
source§impl PartialOrd<Sign> for Sign
impl PartialOrd<Sign> for Sign
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more