Struct tskit::bindings::kastore_t

source ·
#[repr(C)]
pub struct kastore_t { pub flags: c_int, pub mode: c_int, pub file_version: [c_int; 2], pub num_items: usize, pub items: *mut kaitem_t, pub file: *mut FILE, pub file_size: usize, pub file_offset: c_long, pub key_read_buffer: *mut c_char, }
Expand description

@brief A file-backed store of key-array values.

Fields

flags: c_intmode: c_intfile_version: [c_int; 2]num_items: usizeitems: *mut kaitem_tfile: *mut FILEfile_size: usizefile_offset: c_longkey_read_buffer: *mut c_char

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

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
Drops the content pointed by this pointer and frees it. 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 resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
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.