Struct rimd::TrackEvent
[−]
[src]
pub struct TrackEvent { pub vtime: u64, pub event: Event, }
An event occuring in the track.
Fields
vtime | A delta offset, indicating how many ticks after the previous event this event occurs |
event | The actual event |
Methods
impl TrackEvent
fn fmt_with_time_offset(&self, cur_time: u64) -> String
fn len(&self) -> usize
Return the number of bytes this event uses in the track, including the space for the time offset.