[−][src]Struct parselnk::extra_data::ExtraData
ExtraData refers to a set of structures that convey additional information about a link target. These optional structures can be present in an extra data section that is appended to the basic Shell Link Binary File Format. The ExtraData structures conform to the following ABNF rules [RFC5234]:
Fields
console_props: Option<ConsoleDataBlock>
The ConsoleDataBlock structure specifies the display settings to use when a link target specifies an application that is run in a console window.
console_fe_props: Option<ConsoleFEDataBlock>
The ConsoleFEDataBlock structure specifies the code page to use for displaying text when a link target specifies an application that is run in a console window.
shim_props: Option<ShimDataBlock>
The ShimDataBlock structure specifies the name of a shim that can be applied when activating a link target.
Methods
impl ExtraData
[src]
pub fn new(
cursor: &mut Cursor<Vec<u8>>,
_header: &ShellLinkHeader
) -> Result<Self, ExtraDataError>
[src]
cursor: &mut Cursor<Vec<u8>>,
_header: &ShellLinkHeader
) -> Result<Self, ExtraDataError>
Construct a new ExtraData
instance from the data in cursor
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ExtraData
impl Send for ExtraData
impl Sync for ExtraData
impl Unpin for ExtraData
impl UnwindSafe for ExtraData
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,