pub type XGBCallbackSetData = Option<unsafe extern "C" fn(handle: DataHolderHandle, batch: XGBoostBatchCSR) -> c_int>;Expand description
\brief Callback to set the data to handle, \param handle The handle to the callback. \param batch The data content to be set.
Aliased Type§
enum XGBCallbackSetData {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: XGBoostBatchCSR) -> i32),
}