pub type igraph_isohandler_t = Option<unsafe extern "C" fn(map12: *const igraph_vector_int_t, map21: *const igraph_vector_int_t, arg: *mut c_void) -> igraph_error_t>;Expand description
\typedef igraph_isohandler_t Callback type, called when an isomorphism was found
See the details at the documentation of \ref igraph_get_isomorphisms_vf2_callback(). \param map12 The mapping from the first graph to the second. \param map21 The mapping from the second graph to the first, the inverse of \p map12 basically. \param arg This extra argument was passed to \ref igraph_get_isomorphisms_vf2_callback() when it was called. \return \c IGRAPH_SUCCESS to continue the search, \c IGRAPH_STOP to terminate the search. Any other return value is interpreted as an igraph error code, which will then abort the search and return the same error code from the caller function.
Aliased Type§
pub enum igraph_isohandler_t {
None,
Some(unsafe extern "C" fn(*const igraph_vector_int_t, *const igraph_vector_int_t, *mut c_void) -> u32),
}Variants§
None
No value.
Some(unsafe extern "C" fn(*const igraph_vector_int_t, *const igraph_vector_int_t, *mut c_void) -> u32)
Some value of type T.