Struct clingo_sys::clingo_weighted_literal
[−]
[src]
#[repr(C)]pub struct clingo_weighted_literal { pub literal: clingo_literal_t, pub weight: clingo_weight_t, }
A Literal with an associated weight. @ingroup ProgramInspection
Fields
literal: clingo_literal_t
weight: clingo_weight_t
Trait Implementations
impl Debug for clingo_weighted_literal
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Copy for clingo_weighted_literal
[src]
impl Clone for clingo_weighted_literal
[src]
fn clone(&self) -> clingo_weighted_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