pub struct HaplotypeVariant {
pub ref_pos: u32,
pub ref_len: u32,
pub alt_bases: Vec<u8>,
}Expand description
A single variant assigned to a specific haplotype.
Fields§
§ref_pos: u320-based reference position where the variant starts.
ref_len: u32Length of the reference allele in bases. Uses u32 to support
structural variants with large reference spans.
alt_bases: Vec<u8>Alternate allele bases.
Trait Implementations§
Source§impl Clone for HaplotypeVariant
impl Clone for HaplotypeVariant
Source§fn clone(&self) -> HaplotypeVariant
fn clone(&self) -> HaplotypeVariant
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for HaplotypeVariant
impl RefUnwindSafe for HaplotypeVariant
impl Send for HaplotypeVariant
impl Sync for HaplotypeVariant
impl Unpin for HaplotypeVariant
impl UnsafeUnpin for HaplotypeVariant
impl UnwindSafe for HaplotypeVariant
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more