[][src]Enum varlociraptor::model::Variant

pub enum Variant {
    Deletion(u32),
    Insertion(Vec<u8>),
    SNV(u8),
    MNV(Vec<u8>),
    None,
}

Variants

Deletion(u32)
Insertion(Vec<u8>)
SNV(u8)
MNV(Vec<u8>)
None

Methods

impl Variant[src]

pub fn has_fragment_evidence(&self) -> bool[src]

pub fn is_single_base(&self) -> bool[src]

pub fn is_snv(&self) -> bool[src]

pub fn is_indel(&self) -> bool[src]

pub fn is_type(&self, vartype: &VariantType) -> bool[src]

pub fn end(&self, start: u32) -> u32[src]

pub fn centerpoint(&self, start: u32) -> u32[src]

pub fn len(&self) -> u32[src]

Trait Implementations

impl Clone for Variant[src]

impl Debug for Variant[src]

Auto Trait Implementations

impl RefUnwindSafe for Variant

impl Send for Variant

impl Sync for Variant

impl Unpin for Variant

impl UnwindSafe for Variant

Blanket Implementations

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

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

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

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

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

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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<V, T> VZip<V> for T where
    V: MultiLane<T>,