[][src]Trait bio_types::strand::Same

pub trait Same {
    fn same(&self, _: &Self) -> bool;
}

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

Required methods

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

Indicate when two strands are the "same" -- two unknown/unspecified strands are the "same" but are not equal.

Loading content...

Implementations on Foreign Types

impl<T> Same for Option<T> where
    T: Same
[src]

Loading content...

Implementors

impl Same for NoStrand[src]

impl Same for ReqStrand[src]

impl Same for Strand[src]

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

fn same(&self, p: &Self) -> bool[src]

Indicate when two positions are the "same" -- when positions have unknown/unspecified strands they can be the "same" but not equal.

Loading content...