pub struct ShellLinkHeader {
pub link_flags: u32,
pub file_attributes: u32,
pub creation_time: i64,
pub access_time: i64,
pub write_time: i64,
pub file_size: u32,
pub icon_index: i32,
pub show_command: u32,
pub hotkey: u16,
}Expand description
The ShellLinkHeader ([MS-SHLLINK] §2.1).
Fields§
§link_flags: u32LinkFlags bitfield ([MS-SHLLINK] §2.1.1).
file_attributes: u32FileAttributesFlags of the target ([MS-SHLLINK] §2.1.2).
creation_time: i64Target creation time, Unix epoch seconds (0 when the FILETIME was 0).
access_time: i64Target last-access time, Unix epoch seconds (0 when the FILETIME was 0).
write_time: i64Target last-write time, Unix epoch seconds (0 when the FILETIME was 0).
file_size: u32Target file size in bytes (low 32 bits per the spec).
icon_index: i32Icon index.
show_command: u32ShowCommand (e.g. SW_SHOWNORMAL = 1).
hotkey: u16HotKey flags.
Implementations§
Trait Implementations§
Source§impl Clone for ShellLinkHeader
impl Clone for ShellLinkHeader
Source§fn clone(&self) -> ShellLinkHeader
fn clone(&self) -> ShellLinkHeader
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 ShellLinkHeader
impl Debug for ShellLinkHeader
impl Eq for ShellLinkHeader
Source§impl PartialEq for ShellLinkHeader
impl PartialEq for ShellLinkHeader
Source§fn eq(&self, other: &ShellLinkHeader) -> bool
fn eq(&self, other: &ShellLinkHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ShellLinkHeader
Auto Trait Implementations§
impl Freeze for ShellLinkHeader
impl RefUnwindSafe for ShellLinkHeader
impl Send for ShellLinkHeader
impl Sync for ShellLinkHeader
impl Unpin for ShellLinkHeader
impl UnsafeUnpin for ShellLinkHeader
impl UnwindSafe for ShellLinkHeader
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