Struct hts_sys::bcf1_t

source ·
#[repr(C)]
pub struct bcf1_t { pub pos: hts_pos_t, pub rlen: hts_pos_t, pub rid: i32, pub qual: f32, pub _bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>, pub shared: kstring_t, pub indiv: kstring_t, pub d: bcf_dec_t, pub max_unpack: c_int, pub unpacked: c_int, pub unpack_size: [c_int; 3], pub errcode: c_int, }

Fields§

§pos: hts_pos_t§rlen: hts_pos_t§rid: i32§qual: f32§_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>§shared: kstring_t§indiv: kstring_t§d: bcf_dec_t§max_unpack: c_int§unpacked: c_int§unpack_size: [c_int; 3]§errcode: c_int

Implementations§

source§

impl bcf1_t

source

pub fn n_info(&self) -> u32

source

pub fn set_n_info(&mut self, val: u32)

source

pub fn n_allele(&self) -> u32

source

pub fn set_n_allele(&mut self, val: u32)

source

pub fn n_fmt(&self) -> u32

source

pub fn set_n_fmt(&mut self, val: u32)

source

pub fn n_sample(&self) -> u32

source

pub fn set_n_sample(&mut self, val: u32)

source

pub fn new_bitfield_1( n_info: u32, n_allele: u32, n_fmt: u32, n_sample: u32 ) -> __BindgenBitfieldUnit<[u8; 8], u32>

Trait Implementations§

source§

impl Clone for bcf1_t

source§

fn clone(&self) -> bcf1_t

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Debug for bcf1_t

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Copy for bcf1_t

Auto Trait Implementations§

§

impl RefUnwindSafe for bcf1_t

§

impl !Send for bcf1_t

§

impl !Sync for bcf1_t

§

impl Unpin for bcf1_t

§

impl UnwindSafe for bcf1_t

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToOwned for Twhere T: Clone,

§

type Owned = T

The resulting type after obtaining ownership.
source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.