Struct gdl_parser::Distinct [−] [src]

pub struct Distinct {
    pub term1: Term,
    pub term2: Term,
}

A distinct literal

Fields

term1
term2

Methods

impl Distinct

fn new(term1: Term, term2: Term) -> Distinct

Trait Implementations

impl Into<Literal> for Distinct

fn into(self) -> Literal

impl Display for Distinct

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

Derived Implementations

impl PartialOrd for Distinct

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

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

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

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

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

impl Ord for Distinct

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

impl Encodable for Distinct

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

impl Decodable for Distinct

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

impl PartialEq for Distinct

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

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

impl Eq for Distinct

impl Hash for Distinct

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

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

impl Clone for Distinct

fn clone(&self) -> Distinct

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

impl Debug for Distinct

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