use crate::{theme::Theme, views, Cursive}; use crossbeam_channel::{Receiver, Sender}; use std::any::Any; use std::num::NonZeroU32; /// Represents a dump of everything from a `Cursive` instance. /// /// See [`Cursive::dump()`](../cursive.html#method.dump) pub struct Dump { pub(crate) cb_sink: Sender>, pub(crate) cb_source: Receiver>, pub(crate) fps: Option, pub(crate) menubar: views::Menubar, pub(crate) root_view: views::OnEventView>, pub(crate) theme: Theme, pub(crate) user_data: Box, }