1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30
#![cfg_attr(feature = "nightly", deny(missing_docs))] #![cfg_attr(feature = "nightly", feature(external_doc))] #![cfg_attr(feature = "nightly", doc(include = "../README.md"))] #![cfg_attr(test, deny(warnings))] extern crate roff; mod arg; mod author; mod environment; mod example; mod flag; mod man; mod option; mod section; pub mod prelude; pub use arg::Arg; pub use author::Author; pub use environment::Env; pub use example::Example; pub use flag::Flag; pub use man::Manual; pub use option::Opt; pub use section::Section; trait FlagOrOption: std::fmt::Debug { fn render(&self) -> String; }