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 ToString for Or

fn to_string(&self) -> String

Derived Implementations

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

fn assert_receiver_is_total_eq(&self)

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