#[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

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.