pub enum ScoringScheme {
Simple(ScoringMatrix),
Substitution(SubstitutionMatrix),
}Expand description
A unified scoring scheme accepted by alignment algorithms.
Variants§
Simple(ScoringMatrix)
Simple match/mismatch scoring (typically for nucleotides).
Substitution(SubstitutionMatrix)
Amino acid substitution matrix (BLOSUM, PAM, etc.).
Implementations§
Source§impl ScoringScheme
impl ScoringScheme
Trait Implementations§
Source§impl Clone for ScoringScheme
impl Clone for ScoringScheme
Source§impl Debug for ScoringScheme
impl Debug for ScoringScheme
Source§impl From<ScoringMatrix> for ScoringScheme
impl From<ScoringMatrix> for ScoringScheme
Source§fn from(m: ScoringMatrix) -> Self
fn from(m: ScoringMatrix) -> Self
Converts to this type from the input type.
Source§impl From<SubstitutionMatrix> for ScoringScheme
impl From<SubstitutionMatrix> for ScoringScheme
Source§fn from(m: SubstitutionMatrix) -> Self
fn from(m: SubstitutionMatrix) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Forget for ScoringScheme
impl Freeze for ScoringScheme
impl Move for ScoringScheme
impl RefUnwindSafe for ScoringScheme
impl Send for ScoringScheme
impl Sync for ScoringSchemewhere
RawVecInner: Sync,
impl Unpin for ScoringScheme
impl UnsafeUnpin for ScoringScheme
impl UnwindSafe for ScoringScheme
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more