pub struct MtcEvent {
pub timecode: Timecode,
pub motion: Motion,
pub at: Duration,
}Expand description
A position decoded from MIDI Time Code.
Fields§
§timecode: TimecodeThe position. Forward positions are already compensated for the cycle latency.
motion: MotionHow the position was reached.
at: DurationThe time the completing message was fed, as passed to MtcDecoder::feed.
Trait Implementations§
impl Copy for MtcEvent
impl Eq for MtcEvent
impl StructuralPartialEq for MtcEvent
Auto Trait Implementations§
impl Freeze for MtcEvent
impl RefUnwindSafe for MtcEvent
impl Send for MtcEvent
impl Sync for MtcEvent
impl Unpin for MtcEvent
impl UnsafeUnpin for MtcEvent
impl UnwindSafe for MtcEvent
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