pub enum TermEvent {
Bell,
Title(String),
Music(Vec<Tone>),
Audio(AudioOp),
RipQuestion(Question),
}Expand description
Things the front end may want to react to.
Variants§
Bell
Title(String)
Music(Vec<Tone>)
ANSI music to play.
Audio(AudioOp)
Sound from SyncTERM’s audio commands.
RipQuestion(Question)
RIPscrip wants the user to answer this (see Terminal::rip_answer).
Trait Implementations§
impl StructuralPartialEq for TermEvent
Auto Trait Implementations§
impl Freeze for TermEvent
impl RefUnwindSafe for TermEvent
impl Send for TermEvent
impl Sync for TermEvent
impl Unpin for TermEvent
impl UnsafeUnpin for TermEvent
impl UnwindSafe for TermEvent
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