Struct extra::semver::Version

pub struct Version {
    major: uint,
    minor: uint,
    patch: uint,
    pre: ~[Identifier],
    build: ~[Identifier],
}

Represents a version number conforming to the semantic versioning scheme.

Trait Implementations

impl std::clone::Clone for Version

fn clone(&self) -> Version

impl std::cmp::Eq for Version

fn eq(&self, __arg_0: &Version) -> bool

fn ne(&self, __arg_0: &Version) -> bool

impl std::to_str::ToStr for Version

fn to_str(&self) -> ~str

impl std::cmp::Ord for Version

fn lt(&self, other: &Version) -> bool

fn le(&self, other: &Version) -> bool

fn gt(&self, other: &Version) -> bool

fn ge(&self, other: &Version) -> bool