Enum tauri_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§
source§impl Debug for VersionInfo
impl Debug for VersionInfo
source§impl Hash for VersionInfo
impl Hash for VersionInfo
source§impl PartialEq<VersionInfo> for VersionInfo
impl PartialEq<VersionInfo> for VersionInfo
source§fn eq(&self, other: &VersionInfo) -> bool
fn eq(&self, other: &VersionInfo) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for VersionInfo
impl StructuralEq for VersionInfo
impl StructuralPartialEq for VersionInfo
Auto Trait Implementations§
impl RefUnwindSafe for VersionInfo
impl Send for VersionInfo
impl Sync for VersionInfo
impl Unpin for VersionInfo
impl UnwindSafe for VersionInfo
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.