[][src]Struct varlociraptor::model::sample::Sample

pub struct Sample { /* fields omitted */ }

A sequenced sample, e.g., a tumor or a normal sample.

Methods

impl Sample[src]

pub fn name(&self) -> &str[src]

pub fn extract_observations(
    &mut self,
    start: u32,
    variant: &Variant,
    chrom: &[u8],
    chrom_seq: &[u8]
) -> Result<Pileup, Box<dyn Error>>
[src]

Extract observations for the given variant.

Auto Trait Implementations

impl Send for Sample

impl !Sync for Sample

Blanket Implementations

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]