pub struct Parameters {
pub match_value: i32,
pub mismatch_penalty: i32,
pub gap_open_penalty: i32,
pub gap_extend_penalty: i32,
}Expand description
The parameters used by Smith-Waterman alignment.
Fields§
§match_value: i32Match value.
Must be >= 0.
mismatch_penalty: i32Mismatch penalty.
Must be <= 0.
gap_open_penalty: i32Gap open penalty.
Must be <= 0.
gap_extend_penalty: i32Gap extension penalty.
Must be <= 0.
Implementations§
Trait Implementations§
Source§impl Clone for Parameters
impl Clone for Parameters
Source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for Parameters
impl Debug for Parameters
impl Copy for Parameters
Auto Trait Implementations§
impl Freeze for Parameters
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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