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 Display for Description

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

Derived Implementations

impl PartialOrd for Description

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

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

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

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

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

impl Ord for Description

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

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

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