Struct cargo_doc2readme::depinfo::DependencyInfo
source · [−]pub struct DependencyInfo(DependencyInfoImpl);
Tuple Fields
0: DependencyInfoImpl
Implementations
sourceimpl DependencyInfo
impl DependencyInfo
pub fn new(markdown_version: u8, template: &str, rustdoc: &str) -> Self
pub fn decode(data: String) -> Result<Self>
pub fn encode(&self) -> String
pub fn check_input(&self, template: &str, rustdoc: &str) -> bool
pub fn is_empty(&self) -> bool
pub fn add_dependency(
&mut self,
crate_name: String,
version: Option<Version>,
lib_name: String
)
pub fn check_dependency(
&self,
crate_name: &str,
version: Option<&Version>,
lib_name: &str,
allow_missing: bool
) -> bool
Auto Trait Implementations
impl RefUnwindSafe for DependencyInfo
impl Send for DependencyInfo
impl Sync for DependencyInfo
impl Unpin for DependencyInfo
impl UnwindSafe for DependencyInfo
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