Struct libgit2_sys::git_writestream
source · #[repr(C)]pub struct git_writestream {
pub write: Option<extern "C" fn(_: *mut git_writestream, _: *const c_char, _: size_t) -> c_int>,
pub close: Option<extern "C" fn(_: *mut git_writestream) -> c_int>,
pub free: Option<extern "C" fn(_: *mut git_writestream)>,
}
Fields§
§write: Option<extern "C" fn(_: *mut git_writestream, _: *const c_char, _: size_t) -> c_int>
§close: Option<extern "C" fn(_: *mut git_writestream) -> c_int>
§free: Option<extern "C" fn(_: *mut git_writestream)>
Auto Trait Implementations§
impl Freeze for git_writestream
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§
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