Struct gdl_parser::Relation
[-] [+]
[src]
pub struct Relation { pub name: Constant, pub args: Vec<Term>, }
A GDL relation
Fields
name | |
args |
Methods
impl Relation
fn new<T: Into<Constant>>(name: T, args: Vec<Term>) -> Relation
Consruct a new Relation
given a name
and a list of args