pub enum AlignmentMode {
Local,
Global,
SemiGlobal,
}Expand description
The alignment strategy to use.
Variants§
Local
Local alignment (Smith-Waterman) — finds the best-scoring local region.
Global
Global alignment (Needleman-Wunsch) — aligns sequences end-to-end.
SemiGlobal
Semi-global alignment — one sequence aligned end-to-end, the other locally.
Trait Implementations§
Source§impl Clone for AlignmentMode
impl Clone for AlignmentMode
Source§fn clone(&self) -> AlignmentMode
fn clone(&self) -> AlignmentMode
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for AlignmentMode
Source§impl Debug for AlignmentMode
impl Debug for AlignmentMode
impl Eq for AlignmentMode
Source§impl PartialEq for AlignmentMode
impl PartialEq for AlignmentMode
Source§fn eq(&self, other: &AlignmentMode) -> bool
fn eq(&self, other: &AlignmentMode) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AlignmentMode
Auto Trait Implementations§
impl Freeze for AlignmentMode
impl RefUnwindSafe for AlignmentMode
impl Send for AlignmentMode
impl Sync for AlignmentMode
impl Unpin for AlignmentMode
impl UnsafeUnpin for AlignmentMode
impl UnwindSafe for AlignmentMode
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