pub type clingo_model_printer_t = Option<unsafe extern "C" fn(model: *const clingo_model_t, printer: clingo_default_model_printer_t, printer_data: *mut c_void, data: *mut c_void) -> bool>;
Expand description

! Callback to customize model printing. ! ! @param[in] model the model ! @param[in] printer the default model printer ! @param[in] printer_data user data for the printer ! @param[in] data user data for the callback ! ! @return whether the call was successful

Aliased Type§

enum clingo_model_printer_t {
    None,
    Some(unsafe extern "C" fn(_: *const clingo_model, _: Option<unsafe extern "C" fn(_: *mut c_void) -> bool>, _: *mut c_void, _: *mut c_void) -> bool),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *const clingo_model, _: Option<unsafe extern "C" fn(_: *mut c_void) -> bool>, _: *mut c_void, _: *mut c_void) -> bool)

Some value of type T.