Struct cargo_doc2readme::output::Readme
source · [−]struct Readme<'a> {
template: &'a str,
input: &'a InputFile,
readme: String,
readme_links: String,
links: BTreeMap<String, String>,
}
Fields
template: &'a str
input: &'a InputFile
readme: String
Holds the main markdown part of the readme that was created from the rustdoc, but does not include any parts of the template or the links.
readme_links: String
Holds the link part of the markdown.
links: BTreeMap<String, String>
Implementations
Auto Trait Implementations
impl<'a> RefUnwindSafe for Readme<'a>
impl<'a> Send for Readme<'a>
impl<'a> Sync for Readme<'a>
impl<'a> Unpin for Readme<'a>
impl<'a> UnwindSafe for Readme<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more