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

Fields§

§backend: *mut git_odb_backend§append: Option<extern "C" fn(_: *mut git_odb_writepack, _: *const c_void, _: size_t, _: *mut git_indexer_progress) -> c_int>§commit: Option<unsafe extern "C" fn(_: *mut git_odb_writepack, _: *mut git_indexer_progress) -> c_int>§free: Option<unsafe extern "C" fn(_: *mut git_odb_writepack)>

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
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.