Trait bio_types::strand::Same

source ·
pub trait Same {
    // Required method
    fn same(&self, other: &Self) -> bool;
}
Expand description

Equality-like operator for comparing strand information. Unknown strands are not equal, but they are the “same” as other unknown strands.

Required Methods§

source

fn same(&self, other: &Self) -> bool

Indicate when two strands are the “same” – two unknown/unspecified strands are the “same” but are not equal.

Object Safety§

This trait is not object safe.

Implementations on Foreign Types§

source§

impl<T> Same for Option<T>
where T: Same,

source§

fn same(&self, s1: &Self) -> bool

Implementors§

source§

impl Same for NoStrand

source§

impl Same for ReqStrand

source§

impl Same for Strand

source§

impl<R, S> Same for Pos<R, S>
where R: Eq, S: Same,