#[repr(C)]
pub struct git_odb_writepack {
pub backend: *mut git_odb_backend,
pub append: Option<extern "C" fn(_: *mut git_odb_writepack, _: *const c_void, _: size_t, _: *mut git_indexer_progress) -> c_int>,
pub commit: Option<unsafe extern "C" fn(_: *mut git_odb_writepack, _: *mut git_indexer_progress) -> c_int>,
pub free: Option<unsafe extern "C" fn(_: *mut git_odb_writepack)>,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
From<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.