pub struct MotifOccurrence {
pub start: NoteAddr,
pub end: NoteAddr,
pub evidence: Vec<NoteAddr>,
}Expand description
One source span matching a motif pattern.
Fields§
§start: NoteAddr§end: NoteAddr§evidence: Vec<NoteAddr>Trait Implementations§
Source§impl Clone for MotifOccurrence
impl Clone for MotifOccurrence
Source§fn clone(&self) -> MotifOccurrence
fn clone(&self) -> MotifOccurrence
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 moreSource§impl Debug for MotifOccurrence
impl Debug for MotifOccurrence
Source§impl<'de> Deserialize<'de> for MotifOccurrence
impl<'de> Deserialize<'de> for MotifOccurrence
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for MotifOccurrence
Source§impl PartialEq for MotifOccurrence
impl PartialEq for MotifOccurrence
Source§impl Serialize for MotifOccurrence
impl Serialize for MotifOccurrence
impl StructuralPartialEq for MotifOccurrence
Auto Trait Implementations§
impl Freeze for MotifOccurrence
impl RefUnwindSafe for MotifOccurrence
impl Send for MotifOccurrence
impl Sync for MotifOccurrence
impl Unpin for MotifOccurrence
impl UnsafeUnpin 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