pub struct TrackEvent {
pub delta: u64,
pub status_before: Option<u8>,
pub status_after: Option<u8>,
pub event: Option<ReadEvent>,
}Expand description
One event of a track as read: the ticks since the one before, the
running status it was read under and left, and what it set, None
where too few bytes were left to read one.
Fields§
§delta: u64Ticks since the event before.
status_before: Option<u8>The running status it was read under.
status_after: Option<u8>The running status it left.
event: Option<ReadEvent>What it set.
Trait Implementations§
Source§impl Clone for TrackEvent
impl Clone for TrackEvent
Source§impl Debug for TrackEvent
impl Debug for TrackEvent
impl Eq for TrackEvent
Source§impl PartialEq for TrackEvent
impl PartialEq for TrackEvent
impl StructuralPartialEq for TrackEvent
Auto Trait Implementations§
impl Forget for TrackEvent
impl Freeze for TrackEvent
impl Move for TrackEvent
impl RefUnwindSafe for TrackEvent
impl Send for TrackEvent
impl Sync for TrackEvent
impl Unpin for TrackEvent
impl UnsafeUnpin for TrackEvent
impl UnwindSafe for TrackEvent
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more