#[repr(C)]
pub struct git_diff_similarity_metric {
pub file_signature: extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: *mut c_void) -> c_int,
pub buffer_signature: extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: size_t, _: *mut c_void) -> c_int,
pub free_signature: extern "C" fn(_: *mut c_void, _: *mut c_void),
pub similarity: extern "C" fn(_: *mut c_int, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> c_int,
pub payload: *mut c_void,
}
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.