pub struct SerialEvent {
pub bytes: Vec<u8>,
}Expand description
The serial event: bytes the calculator sent on its serial port while
the page holds it (serialOpen); base64 in JSON.
Fields§
§bytes: Vec<u8>The bytes, in the order they left the UART.
Trait Implementations§
Source§impl Clone for SerialEvent
impl Clone for SerialEvent
Source§impl Debug for SerialEvent
impl Debug for SerialEvent
impl Eq for SerialEvent
Source§impl PartialEq for SerialEvent
impl PartialEq for SerialEvent
Source§impl Serialize for SerialEvent
impl Serialize for SerialEvent
impl StructuralPartialEq for SerialEvent
Auto Trait Implementations§
impl Forget for SerialEvent
impl Freeze for SerialEvent
impl Move for SerialEvent
impl RefUnwindSafe for SerialEvent
impl Send for SerialEvent
impl Sync for SerialEvent
impl Unpin for SerialEvent
impl UnsafeUnpin for SerialEvent
impl UnwindSafe for SerialEvent
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