Struct SHELLEXECUTEINFO

Source
pub struct SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> {
    pub mask: SEE_MASK,
    pub hwnd: Option<&'a HWND>,
    pub verb: Option<&'b str>,
    pub file: &'c str,
    pub parameters: Option<&'d str>,
    pub directory: Option<&'e str>,
    pub show: SW,
    pub id_list: Option<&'f [u8]>,
    pub class: Option<&'g str>,
    pub hkey_class: Option<&'h HKEY>,
    pub hot_key: Option<(VK, HOTKEYF)>,
    pub hicon_hmonitor: IcoMon<'i>,
}
Available on crate features advapi and shell only.
Expand description

SHELLEXECUTEINFO struct.

Used with ShellExecuteEx function.

Not all mask constants are available, some of them are automatically set as you fill other parameters.

Fields§

§mask: SEE_MASK§hwnd: Option<&'a HWND>§verb: Option<&'b str>§file: &'c str§parameters: Option<&'d str>§directory: Option<&'e str>§show: SW§id_list: Option<&'f [u8]>§class: Option<&'g str>§hkey_class: Option<&'h HKEY>§hot_key: Option<(VK, HOTKEYF)>§hicon_hmonitor: IcoMon<'i>

Trait Implementations§

Source§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> Default for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

Source§

fn default() -> SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

Returns the “default value” for a type. Read more

Auto Trait Implementations§

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> Freeze for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> RefUnwindSafe for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> !Send for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> !Sync for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> Unpin for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

§

impl<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i> UnwindSafe for SHELLEXECUTEINFO<'a, 'b, 'c, 'd, 'e, 'f, 'g, 'h, 'i>

Blanket Implementations§

Source§

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

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

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

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

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

Source§

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

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

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

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, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.
Source§

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

Source§

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

The type returned in the event of a conversion error.
Source§

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

Performs the conversion.