pub struct Hap {
pub start: f64,
pub end: f64,
pub pitch: Option<String>,
pub value: String,
}Expand description
One scheduled happening: a value with a half-open time interval [start, end).
Fields§
§start: f64Cycle-relative start time.
end: f64Cycle-relative end time (start + duration).
pitch: Option<String>Pitch name (e.g. “C4”) or atom string.
value: StringFree-form payload (kept stringly typed for v0.1; structured value in v0.2).
Implementations§
Trait Implementations§
impl StructuralPartialEq for Hap
Auto Trait Implementations§
impl Freeze for Hap
impl RefUnwindSafe for Hap
impl Send for Hap
impl Sync for Hap
impl Unpin for Hap
impl UnsafeUnpin for Hap
impl UnwindSafe for Hap
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