[][src]Struct libprop_sat_solver::formula::variable::Variable

pub struct Variable { /* fields omitted */ }

A propositional formula variable.

Methods

impl Variable[src]

pub fn new<S>(name: S) -> Self where
    S: Into<String>, 
[src]

Construct a new propositional variable from a given name.

pub fn name(&self) -> &str[src]

Get the name of the propositional variable.

Trait Implementations

impl Clone for Variable[src]

impl Debug for Variable[src]

impl Eq for Variable[src]

impl Hash for Variable[src]

impl PartialEq<Variable> for Variable[src]

impl PartialOrd<Variable> for Variable[src]

impl StructuralEq for Variable[src]

impl StructuralPartialEq for Variable[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.