Struct libgit2_sys::git_odb_writepack
source · #[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§
impl Freeze for git_odb_writepack
impl RefUnwindSafe for git_odb_writepack
impl !Send for git_odb_writepack
impl !Sync for git_odb_writepack
impl Unpin for git_odb_writepack
impl UnwindSafe for git_odb_writepack
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more