Struct slow5lib_sys::slow5_aux_meta
source · [−]#[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
Trait Implementations
sourceimpl Clone for slow5_aux_meta
impl Clone for slow5_aux_meta
sourcefn clone(&self) -> slow5_aux_meta
fn clone(&self) -> slow5_aux_meta
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for slow5_aux_meta
impl Debug for slow5_aux_meta
impl Copy for slow5_aux_meta
Auto Trait Implementations
impl RefUnwindSafe for slow5_aux_meta
impl !Send for slow5_aux_meta
impl !Sync for slow5_aux_meta
impl Unpin for slow5_aux_meta
impl UnwindSafe for slow5_aux_meta
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into)Uses borrowed data to replace owned data, usually by cloning. Read more