pub struct Event {
pub at_secs: f64,
pub end_secs: f64,
pub next_secs: f64,
pub kind: Kind,
pub cue: Cue,
pub sound: Sound,
pub hit: Option<Hit>,
pub attack_secs: f64,
pub level_db: f64,
pub period: Option<(f64, f64)>,
pub voices: Vec<Voiced>,
pub main: Option<usize>,
}Fields§
§at_secs: f64§end_secs: f64Where it falls 30 dB under its peak, or the next event.
next_secs: f64§kind: Kind§cue: Cue§sound: Sound§hit: Option<Hit>§attack_secs: f64§level_db: f64§period: Option<(f64, f64)>§voices: Vec<Voiced>§main: Option<usize>The loudest new voice, else the loudest.
Trait Implementations§
impl StructuralPartialEq for Event
Auto Trait Implementations§
impl Freeze for Event
impl RefUnwindSafe for Event
impl Send for Event
impl Sync for Event
impl Unpin for Event
impl UnsafeUnpin for Event
impl UnwindSafe for Event
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