# Trait cargo::util::to_semver::ToSemver

source ·

    pub trait ToSemver {
        // Required method
        fn to_semver(self) -> CargoResult<Version>;
    }

## Required Methods§

source

#### fn to_semver(self) -> CargoResult<Version>

## Implementations on Foreign Types§

source§

### impl<'a> ToSemver for &'a String

source§

#### fn to_semver(self) -> CargoResult<Version>

source§

### impl<'a> ToSemver for &'a Version

source§

#### fn to_semver(self) -> CargoResult<Version>

source§

### impl ToSemver for Version

source§

#### fn to_semver(self) -> CargoResult<Version>

source§

### impl<'a> ToSemver for &'a str

source§

#### fn to_semver(self) -> CargoResult<Version>

## Implementors§