Struct gdl_parser::Rule
[−]
[src]
pub struct Rule { pub head: Sentence, pub body: Vec<Literal>, }
A GDL rule contains a head Sentence
that is implied by all the Literal
s in the body
Fields
head | |
body |
pub struct Rule { pub head: Sentence, pub body: Vec<Literal>, }
A GDL rule contains a head Sentence
that is implied by all the Literal
s in the body
head | |
body |
impl Rule
impl Into<Clause> for Rule
impl Display for Rule
impl PartialOrd for Rule
fn partial_cmp(&self, __arg_0: &Rule) -> Option<Ordering>
fn lt(&self, __arg_0: &Rule) -> bool
fn le(&self, __arg_0: &Rule) -> bool
fn gt(&self, __arg_0: &Rule) -> bool
fn ge(&self, __arg_0: &Rule) -> bool
impl Ord for Rule
impl Encodable for Rule
impl Decodable for Rule
impl PartialEq for Rule
impl Eq for Rule
impl Hash for Rule
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher
impl Clone for Rule
fn clone(&self) -> Rule
fn clone_from(&mut self, source: &Self)
impl Debug for Rule
Prefix searches with a type followed by a colon (e.g.
fn:
) to restrict the search to a given type.
Accepted types are: fn
, mod
,
struct
, enum
,
trait
, typedef
(or
tdef
).