mod appended;
mod atomic;
mod file;
mod function;
mod impl_fragment;
mod item_declaration;
mod module;
mod nested;
mod trait_fragment;
pub use appended::AppendedFragment;
pub use atomic::AtomicFragment;
pub use file::FileFragment;
pub use function::{FunctionFragment, SelfReference};
pub use impl_fragment::ImplementationFragment;
pub use item_declaration::{ItemDeclaration, ItemDeclarationAPI};
pub use module::ModuleFragment;
pub use nested::NestedFragment;
pub use trait_fragment::TraitFragment;
const RUST_INDENTATION: usize = 4;
pub trait CodeFragment {
fn imports(&self) -> Vec<String>;
fn body(&self, line_width: usize) -> String;
}