Struct cryptominisat::Lit[][src]

#[repr(C)]
pub struct Lit(_);

Methods

impl Lit
[src]

Returns None if var >= 1 << 31, but you should not rely on var >= MAX_NUM_VARS

The underlying variable

Whether this literal is negated

Trait Implementations

impl PartialEq for Lit
[src]

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

This method tests for !=.

impl Eq for Lit
[src]

impl PartialOrd for Lit
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Lit
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Clone for Lit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Lit
[src]

impl Not for Lit
[src]

The resulting type after applying the ! operator.

Negate this literal

Auto Trait Implementations

impl Send for Lit

impl Sync for Lit