//! Propositional variable.
/// A propositional formula variable.
#[derive(Debug, Clone, Hash, PartialEq, Eq, PartialOrd)]pubstructVariable{name: String,
}implVariable{/// Construct a new propositional variable from a given `name`.
pubfnnew<S>(name: S)->Selfwhere
S:Into<String>,
{Self{ name: name.into()}}/// Get the name of the propositional variable.
pubfnname(&self)->&str{&self.name
}}