pub struct SuspendMsg;Expand description
SuspendMsg signals the program should suspend. This usually happens when ctrl+z is pressed on common programs, but since bubbletea puts the terminal in raw mode, we need to handle it in a per-program basis.
You can send this message with suspend().
Trait Implementations§
Source§impl Clone for SuspendMsg
impl Clone for SuspendMsg
Source§fn clone(&self) -> SuspendMsg
fn clone(&self) -> SuspendMsg
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for SuspendMsg
Source§impl Debug for SuspendMsg
impl Debug for SuspendMsg
impl Eq for SuspendMsg
Source§impl PartialEq for SuspendMsg
impl PartialEq for SuspendMsg
impl StructuralPartialEq for SuspendMsg
Auto Trait Implementations§
impl Freeze for SuspendMsg
impl RefUnwindSafe for SuspendMsg
impl Send for SuspendMsg
impl Sync for SuspendMsg
impl Unpin for SuspendMsg
impl UnsafeUnpin for SuspendMsg
impl UnwindSafe for SuspendMsg
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