#[repr(C)]pub struct readgranulecontext {
pub userContext: *mut c_void,
pub start_load_f: Option<unsafe extern "C" fn(filename: *const c_char, filenameLength: c_int, offset: i64, length: i64, fullFileLength: i64, context: *mut c_void) -> i64>,
pub get_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void) -> *mut u8>,
pub free_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void)>,
pub debugNoMaterialize: fdb_bool_t,
pub granuleParallelism: c_int,
}
Fields§
§userContext: *mut c_void
§start_load_f: Option<unsafe extern "C" fn(filename: *const c_char, filenameLength: c_int, offset: i64, length: i64, fullFileLength: i64, context: *mut c_void) -> i64>
§get_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void) -> *mut u8>
§free_load_f: Option<unsafe extern "C" fn(loadId: i64, context: *mut c_void)>
§debugNoMaterialize: fdb_bool_t
§granuleParallelism: c_int
Trait Implementations§
source§impl Clone for readgranulecontext
impl Clone for readgranulecontext
source§fn clone(&self) -> readgranulecontext
fn clone(&self) -> readgranulecontext
Returns a copy 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 readgranulecontext
impl Debug for readgranulecontext
impl Copy for readgranulecontext
Auto Trait Implementations§
impl Freeze for readgranulecontext
impl RefUnwindSafe for readgranulecontext
impl !Send for readgranulecontext
impl !Sync for readgranulecontext
impl Unpin for readgranulecontext
impl UnwindSafe for readgranulecontext
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)