Struct cov::raw::Version[][src]

pub struct Version(_);

File version.

Methods

impl Version
[src]

Converts a raw version number to a Version structure.

Errors

Returns UnsupportedVersion if the version is not supported by this crate.

Trait Implementations

impl Copy for Version
[src]

impl Clone for Version
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl PartialEq for Version
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for Version
[src]

impl PartialOrd for Version
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Version
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl Hash for Version
[src]

Feeds this value into the given [Hasher]. Read more

Feeds a slice of this type into the given [Hasher]. Read more

impl Default for Version
[src]

Returns the "default value" for a type. Read more

impl Debug for Version
[src]

Formats the value using the given formatter. Read more

impl Display for Version
[src]

Formats the value using the given formatter. Read more

impl FromStr for Version
[src]

The associated error which can be returned from parsing.

Parses a string s to return a value of this type. Read more

impl Serialize for Version
[src]

Serialize this value into the given Serde serializer. Read more

impl<'de> Deserialize<'de> for Version
[src]

Deserialize this value from the given Serde deserializer. Read more

impl SerializeWithInterner for Version
[src]

Serializes this value with help from an [Interner] that writes [Symbol]s as strings. Read more

Adorns this object with a string interner. Read more

Auto Trait Implementations

impl Send for Version

impl Sync for Version