Struct dimacs::Lit [] [src]

pub struct Lit(_);

Represents a literal within clauses of formulas of a SAT instance.

Methods

impl Lit
[src]

Returns the underlying i64 representant of this literal.

Returns the associated variable for this literal.

Returns the sign of this literal.

Trait Implementations

impl Copy for Lit
[src]

impl Clone for Lit
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for Lit
[src]

Formats the value using the given formatter.

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 Hash for Lit
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more