Struct gdl_parser::Description [-] [+] [src]

pub struct Description {
    pub clauses: Vec<Clause>,
}

A GDL description. Contains a vector of Clauses, which are the top-level statements in a GDL description.

Fields

clauses

Methods

impl Description

fn new(clauses: Vec<Clause>) -> Description

Constructs a new description from a vector of Clauses

Trait Implementations

impl ToString for Description

fn to_string(&self) -> String

Derived Implementations

impl Encodable for Description

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

impl Decodable for Description

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

impl PartialEq for Description

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

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

impl Eq for Description

fn assert_receiver_is_total_eq(&self)

impl Hash for Description

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

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

impl Clone for Description

fn clone(&self) -> Description

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

impl Debug for Description

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