VersionTools

Trait 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§