/// Sets the prefix clipping penalty for x to the input value
///
/// # Arguments
///
/// * `penalty` - Prefix clipping penalty for x (should not be positive)
///
/// # Example
/// ```rust
/// use bio::alignment::pairwise::{Scoring, MIN_SCORE};
/// let scoring = Scoring::from_scores(0, -2, 1, -2).xclip_prefix(-5);
/// assert!(scoring.xclip_prefix == -5);
/// assert!(scoring.yclip_prefix == MIN_SCORE);
/// assert!(scoring.xclip_suffix == MIN_SCORE);
/// assert!(scoring.yclip_suffix == MIN_SCORE);
/// ```
Sets the prefix clipping penalty for x to the input value
Sets the prefix clipping penalty for x to the input value
pub fn xclip_prefix(mut self, penalty: i32) -> Self {
        assert!(penalty <= 0, "Clipping penalty can't be positive");
        self.xclip_prefix = penalty;
        self
    }
pub fn xclip_prefix ( mut self , penalty : i32 ) -> Self { assert ! ( penalty 0 " " ) ; self . xclip_prefix = penalty ; self }
Sets the prefix clipping penalty for x to the input value
Sets the prefix clipping penalty for x to the input value
mut self
penalty
i32
example
```rust
use bio::alignment::pairwise::{Scoring, MIN_SCORE};
let scoring = Scoring::from_scores(0, -2, 1, -2).xclip_prefix(-5);
assert!(scoring.xclip_prefix == -5);
assert!(scoring.yclip_prefix == MIN_SCORE);
assert!(scoring.xclip_suffix == MIN_SCORE);
assert!(scoring.yclip_suffix == MIN_SCORE);
```
` ` ` rust use bio :: alignment :: pairwise :: { Scoring MIN_SCORE } ; let scoring = Scoring :: from_scores ( 0 - 2 1 - 2 ) . xclip_prefix ( - 5 ) ; assert! ( scoring . xclip_prefix == - 5 ) ; assert! ( scoring . yclip_prefix == MIN_SCORE ) ; assert! ( scoring . xclip_suffix == MIN_SCORE ) ; assert! ( scoring . yclip_suffix == MIN_SCORE ) ; ` ` `