pub struct MotifOccurrence {
pub start_index: usize,
pub timestamp: i64,
pub distance: f32,
}Expand description
A single occurrence of a motif.
Fields§
§start_index: usizeStart index in the trajectory.
timestamp: i64Timestamp of the start of this occurrence.
distance: f32Distance to the canonical motif.
Trait Implementations§
Source§impl Clone for MotifOccurrence
impl Clone for MotifOccurrence
Source§fn clone(&self) -> MotifOccurrence
fn clone(&self) -> MotifOccurrence
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 MotifOccurrence
impl RefUnwindSafe for MotifOccurrence
impl Send for MotifOccurrence
impl Sync for MotifOccurrence
impl Unpin for MotifOccurrence
impl UnwindSafe for MotifOccurrence
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