Struct clingo::SymbolicLiteral
[−]
[src]
pub struct SymbolicLiteral(_);
Represents a symbolic literal.
Methods
impl SymbolicLiteral
[src]
pub fn symbol(&self) -> Symbol
[src]
Get the associated symbol (must be a function)
pub fn positive(&self) -> bool
[src]
Whether the literal has a sign
Trait Implementations
impl Debug for SymbolicLiteral
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for SymbolicLiteral
[src]
impl Clone for SymbolicLiteral
[src]
fn clone(&self) -> SymbolicLiteral
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more