#![deny(missing_docs)]
#![cfg_attr(feature = "doc-cfg", feature(doc_cfg))]
macro_rules! new_default(
($c:ident<$t:ident>) => {
impl<$t> Default for $c<$t> {
fn default() -> Self {
Self::new()
}
}
};
($c:ident) => {
impl Default for $c {
fn default() -> Self {
Self::new()
}
}
};
($c:ident<$t:ident: Default>) => {
impl <$t> Default for $c<$t>
where $t: Default {
fn default() -> Self {
Self::new($t::default())
}
}
};
);
pub mod reexports {
pub use ahash;
pub use crossbeam_channel;
pub use enumset;
pub use log;
pub use time;
#[cfg(feature = "toml")]
pub use toml;
#[cfg(feature = "ansi")]
pub use ansi_parser;
pub use serde_json;
}
pub use cursive_macros::{blueprint, callback_helpers};
#[macro_use]
pub mod utils;
#[macro_use]
pub mod view;
#[macro_use]
pub mod views;
pub mod align;
pub mod backend;
pub mod direction;
pub mod event;
pub mod logger;
pub mod menu;
pub mod style;
pub mod theme;
pub mod traits;
pub mod vec;
#[cfg(feature = "builder")]
pub use inventory::submit;
#[macro_use]
pub mod builder;
pub mod buffer;
mod cursive_root;
mod cursive_run;
mod dump;
mod printer;
mod rect;
mod with;
mod xy;
mod div;
pub use self::cursive_root::{CbSink, Cursive, ScreenId};
pub use self::cursive_run::CursiveRunner;
pub use self::dump::Dump;
pub use self::printer::Printer;
pub use self::rect::Rect;
pub use self::vec::Vec2;
pub use self::view::View;
pub use self::with::With;
pub use self::xy::XY;