pub enum CursiveTestingEvent {
Event(Event),
TakeScreenshot(Rc<RefCell<Screen>>),
}
Expand description
The kind of events that can be
Variants§
Event(Event)
A regular Cursive event.
TakeScreenshot(Rc<RefCell<Screen>>)
Take a screenshot at the current point in time and store it in the provided screenshot cell.
Trait Implementations§
Source§impl Clone for CursiveTestingEvent
impl Clone for CursiveTestingEvent
Source§fn clone(&self) -> CursiveTestingEvent
fn clone(&self) -> CursiveTestingEvent
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for CursiveTestingEvent
impl !RefUnwindSafe for CursiveTestingEvent
impl !Send for CursiveTestingEvent
impl !Sync for CursiveTestingEvent
impl Unpin for CursiveTestingEvent
impl !UnwindSafe for CursiveTestingEvent
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