Struct gdl_parser::Or [−] [src]

pub struct Or {
    pub lits: Vec<Literal>,
}

An or literal

Fields

lits

Methods

impl Or

fn new(lits: Vec<Literal>) -> Or

Trait Implementations

impl Into<Literal> for Or

fn into(self) -> Literal

impl Display for Or

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

Derived Implementations

impl PartialOrd for Or

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

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

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

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

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

impl Ord for Or

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

impl Encodable for Or

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

impl Decodable for Or

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

impl PartialEq for Or

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

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

impl Eq for Or

impl Hash for Or

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

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

impl Clone for Or

fn clone(&self) -> Or

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

impl Debug for Or

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