pub struct LinkFlags {
Show 27 fields pub HasLinkTargetIDList: bool, pub HasLinkInfo: bool, pub HasName: bool, pub HasRelativePath: bool, pub HasWorkingDir: bool, pub HasArguments: bool, pub HasIconLocation: bool, pub IsUnicode: bool, pub ForceNoLinkInfo: bool, pub HasExpString: bool, pub RunInSeparateProcess: bool, pub Unused1: bool, pub HasDarwinID: bool, pub RunAsUser: bool, pub HasExpIcon: bool, pub NoPidlAlias: bool, pub Unused2: bool, pub RunWithShimLayer: bool, pub ForceNoLinkTrack: bool, pub EnableTargetMetadata: bool, pub DisableLinkPathTracking: bool, pub DisableKnownFolderTracking: bool, pub DisableKnownFolderAlias: bool, pub AllowLinkToLink: bool, pub UnaliasOnSave: bool, pub PreferEnvironmentPath: bool, pub KeepLocalIDListForUNCTarget: bool,
}
Expand description

The LinkFlags structure defines bits that specify which shell link structures are present in the file format after the ShellLinkHeader structure

Fields§

§HasLinkTargetIDList: bool§HasLinkInfo: bool§HasName: bool§HasRelativePath: bool§HasWorkingDir: bool§HasArguments: bool§HasIconLocation: bool§IsUnicode: bool§ForceNoLinkInfo: bool§HasExpString: bool§RunInSeparateProcess: bool§Unused1: bool§HasDarwinID: bool§RunAsUser: bool§HasExpIcon: bool§NoPidlAlias: bool§Unused2: bool§RunWithShimLayer: bool§ForceNoLinkTrack: bool§EnableTargetMetadata: bool§DisableLinkPathTracking: bool§DisableKnownFolderTracking: bool§DisableKnownFolderAlias: bool§AllowLinkToLink: bool§UnaliasOnSave: bool§PreferEnvironmentPath: bool§KeepLocalIDListForUNCTarget: bool

Implementations§

Trait Implementations§

source§

impl Debug for LinkFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Display for LinkFlags

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
source§

impl Serialize for LinkFlags

source§

fn serialize<S>(&self, serializer: S) -> Result<S::Ok, S::Error>where S: Serializer,

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

const: unstable · source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

const: unstable · source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

const: unstable · source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T> ToString for Twhere T: Display + ?Sized,

source§

default fn to_string(&self) -> String

Converts the given value to a String. Read more
source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
const: unstable · source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
const: unstable · source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.