Struct libgit2_sys::git_writestream
source · #[repr(C)]pub struct git_writestream {
pub write: extern "C" fn(_: *mut git_writestream, _: *const c_char, _: size_t) -> c_int,
pub close: extern "C" fn(_: *mut git_writestream) -> c_int,
pub free: extern "C" fn(_: *mut git_writestream),
}
Fields
write: extern "C" fn(_: *mut git_writestream, _: *const c_char, _: size_t) -> c_int
close: extern "C" fn(_: *mut git_writestream) -> c_int
free: extern "C" fn(_: *mut git_writestream)
Auto Trait Implementations
impl RefUnwindSafe for git_writestream
impl Send for git_writestream
impl Sync for git_writestream
impl Unpin for git_writestream
impl UnwindSafe for git_writestream
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more