[][src]Trait pubgrub::version::Version

pub trait Version: Clone + Ord + Debug + Display {
    pub fn lowest() -> Self;
pub fn bump(&self) -> Self; }

Versions have a minimal version (a "0" version) and are ordered such that every version has a next one.

Required methods

pub fn lowest() -> Self

Returns the lowest version.

pub fn bump(&self) -> Self

Returns the next version, the smallest strictly higher version.

Loading content...

Implementors

impl Version for NumberVersion[src]

impl Version for SemanticVersion[src]

Loading content...