[][src]Function clingo_sys::clingo_assignment_level

pub unsafe extern "C" fn clingo_assignment_level(
    assignment: *const clingo_assignment_t,
    literal: clingo_literal_t,
    level: *mut u32
) -> bool

Determine the decision level of a given literal.

@param[in] assignment the target assignment @param[in] literal the literal @param[out] level the resulting level @return whether the call was successful