pub trait Position: Default + Serialize {
// Required method
fn new(ref_seq: String, pos: u32) -> Self;
}Expand description
A serializable object meant to hold all information about a position.
This trait defines the interface for position data structures. All implementations must be serializable and provide a way to create a new position with a reference sequence and position.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.