[][src]Trait perbase_lib::position::Position

pub trait Position: Default + Serialize {
    pub fn new(ref_seq: String, pos: u32) -> Self;
}

A serializable object meant to hold all information about a position.

Required methods

pub fn new(ref_seq: String, pos: u32) -> Self[src]

Create a new position with all other values zeroed

Loading content...

Implementors

impl Position for PileupPosition[src]

pub fn new(ref_seq: String, pos: u32) -> Self[src]

Create a new position for the given ref_seq name.

impl Position for RangePositions[src]

pub fn new(ref_seq: String, pos: u32) -> Self[src]

Create a new position for the given ref_seq name.

Loading content...