Enum honestintervals::SignClass [] [src]

pub enum SignClass {
    Mixed,
    Zero,
    Positive(bool),
    Negative(bool),
}

Represents the sign class of an interval.

See http://fab.cba.mit.edu/classes/S62.12/docs/Hickey_interval.pdf for details.

Variants

Contains both negative and positive numbers.

Contains only zero.

Contains only positive numbers and maybe zero.

Contains only negative numbers and maybe zero.

Methods

impl SignClass
[src]

Whether self is SignClass::Positive(_).

Whether self is SignClass::Negative(_).

Trait Implementations

impl Clone for SignClass
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for SignClass
[src]

impl Debug for SignClass
[src]

Formats the value using the given formatter.

impl PartialEq for SignClass
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Display for SignClass
[src]

Formats the value using the given formatter. Read more