#[repr(C)]pub struct svn_diff_fns_t {
pub datasource_open: Option<unsafe extern "C" fn(diff_baton: *mut c_void, datasource: svn_diff_datasource_e) -> *mut svn_error_t>,
pub datasource_close: Option<unsafe extern "C" fn(diff_baton: *mut c_void, datasource: svn_diff_datasource_e) -> *mut svn_error_t>,
pub datasource_get_next_token: Option<unsafe extern "C" fn(hash: *mut apr_uint32_t, token: *mut *mut c_void, diff_baton: *mut c_void, datasource: svn_diff_datasource_e) -> *mut svn_error_t>,
pub token_compare: Option<unsafe extern "C" fn(diff_baton: *mut c_void, ltoken: *mut c_void, rtoken: *mut c_void, compare: *mut c_int) -> *mut svn_error_t>,
pub token_discard: Option<unsafe extern "C" fn(diff_baton: *mut c_void, token: *mut c_void)>,
pub token_discard_all: Option<unsafe extern "C" fn(diff_baton: *mut c_void)>,
}
Expand description
Like #svn_diff_fns2_t except with datasource_open() instead of datasources_open().
@deprecated Provided for backward compatibility with the 1.6 API.
Fields§
§datasource_open: Option<unsafe extern "C" fn(diff_baton: *mut c_void, datasource: svn_diff_datasource_e) -> *mut svn_error_t>
§datasource_close: Option<unsafe extern "C" fn(diff_baton: *mut c_void, datasource: svn_diff_datasource_e) -> *mut svn_error_t>
§datasource_get_next_token: Option<unsafe extern "C" fn(hash: *mut apr_uint32_t, token: *mut *mut c_void, diff_baton: *mut c_void, datasource: svn_diff_datasource_e) -> *mut svn_error_t>
§token_compare: Option<unsafe extern "C" fn(diff_baton: *mut c_void, ltoken: *mut c_void, rtoken: *mut c_void, compare: *mut c_int) -> *mut svn_error_t>
§token_discard: Option<unsafe extern "C" fn(diff_baton: *mut c_void, token: *mut c_void)>
§token_discard_all: Option<unsafe extern "C" fn(diff_baton: *mut c_void)>
Trait Implementations§
Source§impl Clone for svn_diff_fns_t
impl Clone for svn_diff_fns_t
Source§fn clone(&self) -> svn_diff_fns_t
fn clone(&self) -> svn_diff_fns_t
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for svn_diff_fns_t
impl Debug for svn_diff_fns_t
Source§impl Default for svn_diff_fns_t
impl Default for svn_diff_fns_t
Source§fn default() -> svn_diff_fns_t
fn default() -> svn_diff_fns_t
Returns the “default value” for a type. Read more
impl Copy for svn_diff_fns_t
Auto Trait Implementations§
impl Freeze for svn_diff_fns_t
impl RefUnwindSafe for svn_diff_fns_t
impl Send for svn_diff_fns_t
impl Sync for svn_diff_fns_t
impl Unpin for svn_diff_fns_t
impl UnwindSafe for svn_diff_fns_t
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