enum DependencyInfoImpl {
V1(MustBeU8<1u8>, DependencyInfoV1),
}
Variants
V1(MustBeU8<1u8>, DependencyInfoV1)
Implementations
sourceimpl DependencyInfoImpl
impl DependencyInfoImpl
fn new(markdown_version: u8, template: &str, rustdoc: &str) -> Self
fn markdown_version(&self) -> u8
fn is_template_up2date(&self, template: &str) -> bool
fn is_rustdoc_up2date(&self, rustdoc: &str) -> bool
fn is_empty(&self) -> bool
fn dependencies(&self) -> BTreeMap<&str, (Option<&Version>, &str)>
fn add_dependency(
&mut self,
crate_name: String,
version: Option<Version>,
lib_name: String
)
Trait Implementations
sourceimpl<'de> Deserialize<'de> for DependencyInfoImpl
impl<'de> Deserialize<'de> for DependencyInfoImpl
sourcefn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
sourceimpl Serialize for DependencyInfoImpl
impl Serialize for DependencyInfoImpl
Auto Trait Implementations
impl RefUnwindSafe for DependencyInfoImpl
impl Send for DependencyInfoImpl
impl Sync for DependencyInfoImpl
impl Unpin for DependencyInfoImpl
impl UnwindSafe for DependencyInfoImpl
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