Struct libgit2_sys::git_diff_similarity_metric
source · #[repr(C)]pub struct git_diff_similarity_metric {
pub file_signature: Option<extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: *mut c_void) -> c_int>,
pub buffer_signature: Option<extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: size_t, _: *mut c_void) -> c_int>,
pub free_signature: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>,
pub similarity: Option<extern "C" fn(_: *mut c_int, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> c_int>,
pub payload: *mut c_void,
}
Fields§
§file_signature: Option<extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: *mut c_void) -> c_int>
§buffer_signature: Option<extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: size_t, _: *mut c_void) -> c_int>
§free_signature: Option<extern "C" fn(_: *mut c_void, _: *mut c_void)>
§similarity: Option<extern "C" fn(_: *mut c_int, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> c_int>
§payload: *mut c_void
Auto Trait Implementations§
impl RefUnwindSafe for git_diff_similarity_metric
impl !Send for git_diff_similarity_metric
impl !Sync for git_diff_similarity_metric
impl Unpin for git_diff_similarity_metric
impl UnwindSafe for git_diff_similarity_metric
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more