Trait mol_core::version::Versioned[][src]

pub trait Versioned: AsChangelogFmt + Clone + Default + Hash + FromStr + Ord + ToString {
    fn options() -> Vec<Self>;
fn mask<'a>(mask: &str, version: &'a str) -> &'a str;
fn match(mask: &str, version: &str) -> bool;
fn apply(&self, current: &str) -> Result<String, VersionBumpError>; }

Required methods

Implementors