pub struct VersionInfo {
pub company: String,
pub product: String,
pub original_filename: String,
}Expand description
The parts of a PE version resource the database can match on. Vendor-set at link time, so stable across install location and patches.
A field is an empty string when the image carries no version resource or
the resource leaves that field empty. compatdb.so reads it from the
image with version_info; a launcher that wants to see what a program
would get fills it in itself.
Fields§
§company: StringThe CompanyName string.
product: StringThe ProductName string.
original_filename: StringThe OriginalFilename string.
Trait Implementations§
Source§impl Clone for VersionInfo
impl Clone for VersionInfo
Source§fn clone(&self) -> VersionInfo
fn clone(&self) -> VersionInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VersionInfo
impl Debug for VersionInfo
Source§impl Default for VersionInfo
impl Default for VersionInfo
Source§fn default() -> VersionInfo
fn default() -> VersionInfo
Returns the “default value” for a type. Read more
impl Eq for VersionInfo
Source§impl PartialEq for VersionInfo
impl PartialEq for VersionInfo
impl StructuralPartialEq for VersionInfo
Auto Trait Implementations§
impl Freeze for VersionInfo
impl RefUnwindSafe for VersionInfo
impl Send for VersionInfo
impl Sync for VersionInfo
impl Unpin for VersionInfo
impl UnsafeUnpin 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