Enum winres::VersionInfo

source ·
pub enum VersionInfo {
    FILEVERSION,
    PRODUCTVERSION,
    FILEOS,
    FILETYPE,
    FILESUBTYPE,
    FILEFLAGSMASK,
    FILEFLAGS,
}
Expand description

Version info field names

Variants§

§

FILEVERSION

The version value consists of four 16 bit words, e.g., MAJOR << 48 | MINOR << 32 | PATCH << 16 | RELEASE

§

PRODUCTVERSION

The version value consists of four 16 bit words, e.g., MAJOR << 48 | MINOR << 32 | PATCH << 16 | RELEASE

§

FILEOS

Should be Windows NT Win32, with value 0x40004

§

FILETYPE

The value (for a rust compiler output) should be 1 for a EXE and 2 for a DLL

§

FILESUBTYPE

Only for Windows drivers

§

FILEFLAGSMASK

Bit mask for FILEFLAGS

§

FILEFLAGS

Only the bits set in FILEFLAGSMASK are read

Trait Implementations§

Formats the value using the given formatter. Read more
Feeds this value into the given Hasher. Read more
Feeds a slice of this type into the given Hasher. Read more
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. 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 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.