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§
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)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".