Trait relp_num::NonZeroSigned[][src]

pub trait NonZeroSigned: NonZero + Clone {
    fn signum(&self) -> NonZeroSign;

    fn is_positive(&self) -> bool { ... }
fn is_negative(&self) -> bool { ... } }
Expand description

A signed number that can have a nonzero value.

Required methods

Whether the value is positive or negative.

Provided methods

Whether x > 0.

Whether x < 0.

Implementations on Foreign Types

Implementors