fn positions(&self, align: usize, reverse: bool) -> Vec<usize> {
        let positions = if reverse {
            let mut positions = self.positions.to_vec();
            positions.reverse();
            positions
        } else {
            self.positions.to_vec()
        };
        positions
            .into_iter()
            .filter(|&p| p >= align)
            .map(|p| p - align)
            .collect()
    }
/// Return the positions in this test, reversed if `reverse` is true.
///
/// If alignment is given, then all positions greater than or equal to that
/// alignment are offset by the alignment. Positions less than the
/// alignment are dropped.
Return the positions in this test, reversed if `reverse` is true.
If alignment is given, then all positions greater than or equal to that
alignment are offset by the alignment. Positions less than the
alignment are dropped.
Return the positions in this test reversed if ` reverse ` is true . If alignment is given then all positions greater than or equal to that alignment are offset by the alignment . Positions less than the alignment are dropped .
fn positions(&self, align: usize, reverse: bool) -> Vec<usize> {
        let positions = if reverse {
            let mut positions = self.positions.to_vec();
            positions.reverse();
            positions
        } else {
            self.positions.to_vec()
        };
        positions
            .into_iter()
            .filter(|&p| p >= align)
            .map(|p| p - align)
            .collect()
    }
fn positions ( & self , align : usize , reverse : bool ) -> Vec < usize > { let positions = if reverse { let mut positions = self . positions . to_vec ( ) ; positions . reverse ( ) ; positions } else { self . positions . to_vec ( ) } ; positions . into_iter ( ) . filter ( | & p | p >= align ) . map ( | p | p - align ) . collect ( ) }
Return the positions in this test, reversed if `reverse` is true.
Return the positions in this test reversed if ` reverse ` is true .
&self
align
usize
reverse
bool
&self
align
usize
reverse
bool