pub enum ToScript {
Data(Vec<u8>),
Screen(String),
}Expand description
From the front end to the script.
Variants§
Data(Vec<u8>)
What the BBS sent.
Screen(String)
The screen’s text, asked for with FromScript::WantScreen.
Auto Trait Implementations§
impl Freeze for ToScript
impl RefUnwindSafe for ToScript
impl Send for ToScript
impl Sync for ToScript
impl Unpin for ToScript
impl UnsafeUnpin for ToScript
impl UnwindSafe for ToScript
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