Trait IsValidVersion

Source
pub trait IsValidVersion {
    // Required method
    fn is_valid_version(&self, version: &str) -> bool;
}

Required Methods§

Source

fn is_valid_version(&self, version: &str) -> bool

Checks if the version string is a valid SemVer version

Implementations on Foreign Types§

Source§

impl IsValidVersion for MockCargoToml

Source§

fn is_valid_version(&self, version: &str) -> bool

Implementors§