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 Literals 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 Literals in the body
head | |
body |
impl Ruleimpl Into<Clause> for Ruleimpl Display for Ruleimpl PartialOrd for Rulefn partial_cmp(&self, __arg_0: &Rule) -> Option<Ordering>fn lt(&self, __arg_0: &Rule) -> boolfn le(&self, __arg_0: &Rule) -> boolfn gt(&self, __arg_0: &Rule) -> boolfn ge(&self, __arg_0: &Rule) -> boolimpl Ord for Ruleimpl Encodable for Ruleimpl Decodable for Ruleimpl PartialEq for Ruleimpl Eq for Ruleimpl Hash for Rulefn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Clone for Rulefn clone(&self) -> Rulefn 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).