#[repr(C)]
pub struct slow5_aux_meta { pub num: u32, pub cap: usize, pub attr_to_pos: *mut kh_slow5_s2ui32_t, pub attrs: *mut *mut c_char, pub types: *mut slow5_aux_type, pub sizes: *mut u8, pub enum_labels: *mut *mut *mut c_char, pub enum_num_labels: *mut u8, }
Expand description

@struct slow5_aux_meta SLOW5 auxiliary field metadata (information available in the SLOW5 header)

Fields

num: u32

< number of auxiliary fields

cap: usize

< capacity of the arrays: attrs, types and sizes

attr_to_pos: *mut kh_slow5_s2ui32_t

< hash table that maps field name string -> index position in the following arrays.

attrs: *mut *mut c_char

< field names

types: *mut slow5_aux_type

< field datatypes

sizes: *mut u8

< field datatype sizes, for arrays this stores the size (in bytes) of the corresponding primitive type (TODO: this is probably redundant)

enum_labels: *mut *mut *mut c_char

< array of enum labels stored as strings

enum_num_labels: *mut u8

< array of number of enum labels

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.