rust_htslib::bcf::record

Trait Numeric

Source
pub trait Numeric {
    // Required methods
    fn is_missing(&self) -> bool;
    fn missing() -> Self;
}
Expand description

Common methods for numeric INFO and FORMAT entries

Required Methods§

Source

fn is_missing(&self) -> bool

Return true if entry is a missing value

Source

fn missing() -> Self

Return missing value for storage in BCF record.

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.

Implementations on Foreign Types§

Source§

impl Numeric for f32

Source§

impl Numeric for i32

Implementors§