[][src]Struct libgit2_sys::git_diff_similarity_metric

#[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, }

Fields

file_signature: extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: *mut c_void) -> c_intbuffer_signature: extern "C" fn(_: *mut *mut c_void, _: *const git_diff_file, _: *const c_char, _: size_t, _: *mut c_void) -> c_intfree_signature: extern "C" fn(_: *mut c_void, _: *mut c_void)similarity: extern "C" fn(_: *mut c_int, _: *mut c_void, _: *mut c_void, _: *mut c_void) -> c_intpayload: *mut c_void

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]