VersionEditor

Trait VersionEditor 

Source
pub trait VersionEditor:
    AsChangelogFmt
    + Versioned
    + Clone
    + Default
    + Hash
    + FromStr
    + Ord {
    // Required methods
    fn options() -> Vec<Self>;
    fn mask<'a>(mask: &str, version: &'a str) -> &'a str;
    fn match(mask: &str, version: &str) -> bool;
}

Required Methods§

Source

fn options() -> Vec<Self>

Source

fn mask<'a>(mask: &str, version: &'a str) -> &'a str

Source

fn match(mask: &str, version: &str) -> bool

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§