pub struct NucleosomeCall {
pub dyad: usize,
pub score: f64,
}Expand description
One called nucleosome, positioned by its dyad.
dyad is a zero-based index into the record, matching how the reference indexes its
arrays. The call covers dyad - half_width ..= dyad + half_width.
Fields§
§dyad: usize§score: f64Implementations§
Source§impl NucleosomeCall
impl NucleosomeCall
Sourcepub fn reported_score(&self) -> f64
pub fn reported_score(&self) -> f64
The score as reported, clamped at the saturated value.
Trait Implementations§
Source§impl Clone for NucleosomeCall
impl Clone for NucleosomeCall
Source§fn clone(&self) -> NucleosomeCall
fn clone(&self) -> NucleosomeCall
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 NucleosomeCall
Source§impl Debug for NucleosomeCall
impl Debug for NucleosomeCall
Source§impl PartialEq for NucleosomeCall
impl PartialEq for NucleosomeCall
Source§fn eq(&self, other: &NucleosomeCall) -> bool
fn eq(&self, other: &NucleosomeCall) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for NucleosomeCall
Auto Trait Implementations§
impl Freeze for NucleosomeCall
impl RefUnwindSafe for NucleosomeCall
impl Send for NucleosomeCall
impl Sync for NucleosomeCall
impl Unpin for NucleosomeCall
impl UnsafeUnpin for NucleosomeCall
impl UnwindSafe for NucleosomeCall
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