pub struct PieceCurves {
pub start: usize,
pub curve_start: usize,
pub curves: Vec<f64>,
}Expand description
The curvature scores for one piece, with the positions they belong to.
start is the 1-based position of the piece’s first base in the original record.
curve_start is the 1-based position that curves[0] scores, which is further in by
the pipeline’s lead-in: the windows need context on both sides, so the first several
bases of a piece get no score.
Fields§
§start: usize§curve_start: usize§curves: Vec<f64>Trait Implementations§
Source§impl Clone for PieceCurves
impl Clone for PieceCurves
Source§fn clone(&self) -> PieceCurves
fn clone(&self) -> PieceCurves
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 moreAuto Trait Implementations§
impl Freeze for PieceCurves
impl RefUnwindSafe for PieceCurves
impl Send for PieceCurves
impl Sync for PieceCurves
impl Unpin for PieceCurves
impl UnsafeUnpin for PieceCurves
impl UnwindSafe for PieceCurves
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more