Type Alias libgit2_sys::git_diff_line_cb
source · pub type git_diff_line_cb = Option<extern "C" fn(_: *const git_diff_delta, _: *const git_diff_hunk, _: *const git_diff_line, _: *mut c_void) -> c_int>;
Aliased Type§
enum git_diff_line_cb {
None,
Some(extern "C" fn(_: *const git_diff_delta, _: *const git_diff_hunk, _: *const git_diff_line, _: *mut c_void) -> i32),
}
Variants§
None
No value.
Some(extern "C" fn(_: *const git_diff_delta, _: *const git_diff_hunk, _: *const git_diff_line, _: *mut c_void) -> i32)
Some value of type T
.