Type Alias libgit2_sys::git_diff_hunk_cb

source ·
pub type git_diff_hunk_cb = Option<extern "C" fn(_: *const git_diff_delta, _: *const git_diff_hunk, _: *mut c_void) -> c_int>;

Aliased Type§

enum git_diff_hunk_cb {
    None,
    Some(extern "C" fn(_: *const git_diff_delta, _: *const git_diff_hunk, _: *mut c_void) -> i32),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(extern "C" fn(_: *const git_diff_delta, _: *const git_diff_hunk, _: *mut c_void) -> i32)

Some value of type T.