Struct cargo_doc2readme::input::InputFile
source · [−]pub struct InputFile {
pub crate_name: String,
pub repository: Option<String>,
pub license: Option<String>,
pub rustdoc: String,
pub dependencies: HashMap<String, (String, Version)>,
pub scope: Scope,
}
Fields
crate_name: String
The name of the crate.
repository: Option<String>
The repository url (if specified).
license: Option<String>
The license field (if specified).
rustdoc: String
The unmodified rustdoc string
dependencies: HashMap<String, (String, Version)>
The crate-level dependencies, mapping the valid identifier in rust code to the (possibly renamed, containing invalid characters, etc.) crate name and version.
scope: Scope
The scope at the crate root.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for InputFile
impl Send for InputFile
impl Sync for InputFile
impl Unpin for InputFile
impl UnwindSafe for InputFile
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more