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