Trait modinfo::VersionTools

source ·
pub trait VersionTools {
    // Required methods
    fn set_version(&mut self, version: &str);
    fn bump_major(&mut self);
    fn bump_minor(&mut self);
    fn bump_patch(&mut self);
    fn add_pre(&mut self, pre: &str);
    fn add_build(&mut self, build: &str);
}

Required Methods§

source

fn set_version(&mut self, version: &str)

source

fn bump_major(&mut self)

source

fn bump_minor(&mut self)

source

fn bump_patch(&mut self)

source

fn add_pre(&mut self, pre: &str)

source

fn add_build(&mut self, build: &str)

Implementations on Foreign Types§

source§

impl VersionTools for Version

source§

fn set_version(&mut self, version: &str)

source§

fn bump_major(&mut self)

source§

fn bump_minor(&mut self)

source§

fn bump_patch(&mut self)

source§

fn add_build(&mut self, build: &str)

source§

fn add_pre(&mut self, pre: &str)

Implementors§