pub struct Annotation {
pub onset: f64,
pub duration: f64,
pub description: String,
}Expand description
A time-stamped annotation from EDF+, BDF+, or BrainVision marker files.
Corresponds to MNE’s raw.annotations. EDF+ TAL (Time-stamped Annotation
Lists) entries and BrainVision .vmrk markers are both parsed into this type.
Fields§
§onset: f64Onset time in seconds from the start of the recording.
duration: f64Duration in seconds (0.0 if instantaneous).
description: StringDescription / label of the annotation.
Trait Implementations§
Source§impl Clone for Annotation
impl Clone for Annotation
Source§fn clone(&self) -> Annotation
fn clone(&self) -> Annotation
Returns a duplicate 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 moreSource§impl Debug for Annotation
impl Debug for Annotation
Source§impl PartialEq for Annotation
impl PartialEq for Annotation
impl StructuralPartialEq for Annotation
Auto Trait Implementations§
impl Freeze for Annotation
impl RefUnwindSafe for Annotation
impl Send for Annotation
impl Sync for Annotation
impl Unpin for Annotation
impl UnsafeUnpin for Annotation
impl UnwindSafe for Annotation
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