Struct gdl_parser::Proposition
[-] [+]
[src]
pub struct Proposition {
pub name: Constant,
}A proposition is a Relation with no body; it only has a name.
Fields
name |
pub struct Proposition {
pub name: Constant,
}A proposition is a Relation with no body; it only has a name.
name |
impl Propositionfn new<T: Into<Constant>>(name: T) -> Propositionimpl Into<Literal> for Propositionimpl Into<Sentence> for Propositionimpl Into<Relation> for Propositionimpl ToString for Propositionimpl Encodable for Propositionimpl Decodable for Propositionfn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<Proposition, __D>impl PartialEq for Propositionfn eq(&self, __arg_0: &Proposition) -> boolfn ne(&self, __arg_0: &Proposition) -> boolimpl Eq for Propositionfn assert_receiver_is_total_eq(&self)impl Hash for Propositionfn hash<__H: Hasher>(&self, __arg_0: &mut __H)fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasherimpl Clone for Propositionfn clone(&self) -> Propositionfn clone_from(&mut self, source: &Self)impl Debug for Proposition
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).