Struct ::exo::Version

Overview

A version which supports different version formats Number Only: 3 Number wiht points: 3.2.1 Letter Only: A Letter with points: A.B.C Number and Letter with points: A.1.3

Methods

fn new(color: String) -> Version

Creates a new Version from the given String.

Higher the version by one.

Return the version as String

Protocols

protocol partial_eq
if value == b { }

Allows for partial equality operations to work.

protocol string_debug
println("{:?}", value)

Allows the value to be debug printed.

protocol string_display
println("{}", value)

Allows the value to be display printed.