Struct winsafe::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 feature shell only.
Expand description

SHELLEXECUTEINFO struct.

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>,

§

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>,

§

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.