pub struct MotifResult {
pub canonical_index: usize,
pub occurrences: Vec<MotifOccurrenceResult>,
pub period: Option<usize>,
pub mean_match_distance: f32,
}Expand description
A discovered motif result.
Fields§
§canonical_index: usizeIndex of the canonical occurrence.
occurrences: Vec<MotifOccurrenceResult>All occurrences with timestamps and distances.
period: Option<usize>Detected period (None if aperiodic).
mean_match_distance: f32Mean match distance.
Trait Implementations§
Source§impl Clone for MotifResult
impl Clone for MotifResult
Source§fn clone(&self) -> MotifResult
fn clone(&self) -> MotifResult
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for MotifResult
impl RefUnwindSafe for MotifResult
impl Send for MotifResult
impl Sync for MotifResult
impl Unpin for MotifResult
impl UnwindSafe for MotifResult
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