Skip to main content

VersionExt

Trait VersionExt 

Source
pub trait VersionExt {
    // Required method
    fn to_tag(&self) -> String;
}
Expand description

Extension trait to provide a consistent “tag” string representation for versions.

Required Methods§

Source

fn to_tag(&self) -> String

Returns a string representation of the version in the format “vX.Y.Z”

Implementations on Foreign Types§

Source§

impl VersionExt for Version

Source§

fn to_tag(&self) -> String

Implementors§