pub type crfsuite_logging_callback = Option<unsafe extern "C" fn(user: *mut c_void, format: *const c_char, args: *mut __va_list_tag) -> c_int>;Expand description
Type of callback function for logging.
userPointer to the user-defined data.formatFormat string (compatible with prinf()).argsOptional arguments for the format string.
Returns int \c 0 to continue; non-zero to cancel the training.
Aliased Type§
pub enum crfsuite_logging_callback {
None,
Some(unsafe extern "C" fn(*mut c_void, *const i8, *mut __va_list_tag) -> i32),
}