Struct rust_htslib::htslib::bcf1_t
source · [−]#[repr(C)]pub struct bcf1_t {
pub pos: i64,
pub rlen: i64,
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: i32,
pub unpacked: i32,
pub unpack_size: [i32; 3],
pub errcode: i32,
}Fields
pos: i64rlen: i64rid: i32qual: f32_bitfield_1: __BindgenBitfieldUnit<[u8; 8], u32>indiv: kstring_td: bcf_dec_tmax_unpack: i32unpacked: i32unpack_size: [i32; 3]errcode: i32Implementations
sourceimpl bcf1_t
impl bcf1_t
pub fn n_info(&self) -> u32
pub fn set_n_info(&mut self, val: u32)
pub fn n_allele(&self) -> u32
pub fn set_n_allele(&mut self, val: u32)
pub fn n_fmt(&self) -> u32
pub fn set_n_fmt(&mut self, val: u32)
pub fn n_sample(&self) -> u32
pub fn set_n_sample(&mut self, val: u32)
pub fn new_bitfield_1(
n_info: u32,
n_allele: u32,
n_fmt: u32,
n_sample: u32
) -> __BindgenBitfieldUnit<[u8; 8], u32>
Trait Implementations
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
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