perbase_lib/position/
mod.rs

1//! A set of implementations of `Position` for different use cases
2pub mod mate_fix;
3pub mod pileup_position;
4pub mod range_positions;
5
6use serde::Serialize;
7use smartstring::alias::String;
8/// A serializable object meant to hold all information about a position.
9pub trait Position: Default + Serialize {
10    /// Create a new position with all other values zeroed
11    fn new(ref_seq: String, pos: u32) -> Self;
12}