Struct gdl_parser::Variable [−] [src]

pub struct Variable {
    pub name: Constant,
}

A variable term

Fields

name

Methods

impl Variable

fn new<T: Into<Constant>>(name: T) -> Variable

Trait Implementations

impl Into<Term> for Variable

fn into(self) -> Term

impl Display for Variable

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>

Derived Implementations

impl PartialOrd for Variable

fn partial_cmp(&self, __arg_0: &Variable) -> Option<Ordering>

fn lt(&self, __arg_0: &Variable) -> bool

fn le(&self, __arg_0: &Variable) -> bool

fn gt(&self, __arg_0: &Variable) -> bool

fn ge(&self, __arg_0: &Variable) -> bool

impl Ord for Variable

fn cmp(&self, __arg_0: &Variable) -> Ordering

impl Encodable for Variable

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S>

impl Decodable for Variable

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Variable, __D>

impl PartialEq for Variable

fn eq(&self, __arg_0: &Variable) -> bool

fn ne(&self, __arg_0: &Variable) -> bool

impl Eq for Variable

impl Hash for Variable

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Clone for Variable

fn clone(&self) -> Variable

fn clone_from(&mut self, source: &Self)

impl Debug for Variable

fn fmt(&self, __arg_0: &mut Formatter) -> Result