#[repr(C)]
pub struct git_checkout_options {Show 20 fields
pub version: c_uint,
pub checkout_strategy: c_uint,
pub disable_filters: c_int,
pub dir_mode: c_uint,
pub file_mode: c_uint,
pub file_open_flags: c_int,
pub notify_flags: c_uint,
pub notify_cb: git_checkout_notify_cb,
pub notify_payload: *mut c_void,
pub progress_cb: git_checkout_progress_cb,
pub progress_payload: *mut c_void,
pub paths: git_strarray,
pub baseline: *mut git_tree,
pub baseline_index: *mut git_index,
pub target_directory: *const c_char,
pub ancestor_label: *const c_char,
pub our_label: *const c_char,
pub their_label: *const c_char,
pub perfdata_cb: git_checkout_perfdata_cb,
pub perfdata_payload: *mut c_void,
}
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.