pub struct VersionInfo<'a> { /* private fields */ }
Expand description

Version Information.

Implementations

Gets the fixed file information if available.

Queries \.

Gets the available languages.

Queries \VarFileInfo\Translation.

Gets a string value by name.

Queries \StringFileInfo\{lang}\{key}

Iterates over all the strings’ keys and values of a given language.

Queries \StringFileInfo\{lang}\*

Parse the version info into HashMaps.

Renders the version info back into its source code form.

Parse the version information.

Because of the super convoluted format, the visitor pattern is used. Implement the Visit trait to get the desired information.

To keep the API simple all errors are ignored, any invalid or corrupted data is skipped.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.
Creates owned data from borrowed data, usually by cloning. Read more
Uses borrowed data to replace owned data, usually by cloning. Read more
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.