Enum winres::VersionInfo
[−]
[src]
pub enum VersionInfo { FILEVERSION, PRODUCTVERSION, FILEOS, FILETYPE, FILESUBTYPE, FILEFLAGSMASK, FILEFLAGS, }
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
impl PartialEq for VersionInfo
[src]
fn eq(&self, __arg_0: &VersionInfo) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0
This method tests for !=
.
impl Eq for VersionInfo
[src]
impl Hash for VersionInfo
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more