pub enum SimulatorEvent {
Warning(String),
RobotCodeLoading,
RobotCodeStarting,
RobotCodeFinished,
RobotCodeError {
message: String,
backtrace: String,
},
LcdInitialized,
LcdUpdated(LcdLines),
LcdColorsUpdated(u32, u32),
LcdShutdown,
}Variants§
Warning(String)
RobotCodeLoading
RobotCodeStarting
RobotCodeFinished
RobotCodeError
LcdInitialized
LcdUpdated(LcdLines)
LcdColorsUpdated(u32, u32)
LcdShutdown
Trait Implementations§
source§impl Debug for SimulatorEvent
impl Debug for SimulatorEvent
source§impl<'de> Deserialize<'de> for SimulatorEvent
impl<'de> Deserialize<'de> for SimulatorEvent
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl RefUnwindSafe for SimulatorEvent
impl Send for SimulatorEvent
impl Sync for SimulatorEvent
impl Unpin for SimulatorEvent
impl UnwindSafe for SimulatorEvent
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