Struct clingo::Literal
[−]
[src]
pub struct Literal(_);
Signed integer type used for aspif and solver literals.
Methods
impl Literal
[src]
pub fn negate(&self) -> Literal
[src]
pub fn from(Atom: Atom) -> Literal
[src]
pub fn get_integer(&self) -> i32
[src]
Trait Implementations
impl Debug for Literal
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for Literal
[src]
impl Clone for Literal
[src]
fn clone(&self) -> Literal
[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