pub enum ProcessorEvent {
ScreenUpdate {
new_screen: [u8; 256],
},
SoundRequest {
duration: Duration,
},
WaitForKeyPress,
ErrorEncountered {
error: ProcessorError,
},
}Variants§
Trait Implementations§
Source§impl Debug for ProcessorEvent
impl Debug for ProcessorEvent
Source§impl PartialEq for ProcessorEvent
impl PartialEq for ProcessorEvent
impl Eq for ProcessorEvent
impl StructuralPartialEq for ProcessorEvent
Auto Trait Implementations§
impl Freeze for ProcessorEvent
impl RefUnwindSafe for ProcessorEvent
impl Send for ProcessorEvent
impl Sync for ProcessorEvent
impl Unpin for ProcessorEvent
impl UnwindSafe for ProcessorEvent
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