Struct windows::Win32::UI::Shell::IFileDialogEvents
pub struct IFileDialogEvents(/* private fields */);
Implementations§
§impl IFileDialogEvents
impl IFileDialogEvents
pub unsafe fn OnFileOk<P0>(&self, pfd: P0) -> Result<()>where
P0: IntoParam<IFileDialog>,
pub unsafe fn OnFolderChanging<P0, P1>(
&self,
pfd: P0,
psifolder: P1
) -> Result<()>where
P0: IntoParam<IFileDialog>,
P1: IntoParam<IShellItem>,
pub unsafe fn OnFolderChange<P0>(&self, pfd: P0) -> Result<()>where
P0: IntoParam<IFileDialog>,
pub unsafe fn OnSelectionChange<P0>(&self, pfd: P0) -> Result<()>where
P0: IntoParam<IFileDialog>,
pub unsafe fn OnTypeChange<P0>(&self, pfd: P0) -> Result<()>where
P0: IntoParam<IFileDialog>,
pub unsafe fn OnOverwrite<P0, P1>(
&self,
pfd: P0,
psi: P1
) -> Result<FDE_OVERWRITE_RESPONSE>where
P0: IntoParam<IFileDialog>,
P1: IntoParam<IShellItem>,
Trait Implementations§
§impl Clone for IFileDialogEvents
impl Clone for IFileDialogEvents
§fn clone(&self) -> IFileDialogEvents
fn clone(&self) -> IFileDialogEvents
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read more§impl Debug for IFileDialogEvents
impl Debug for IFileDialogEvents
§impl From<&IFileDialogEvents> for &IUnknown
impl From<&IFileDialogEvents> for &IUnknown
§fn from(value: &IFileDialogEvents) -> Self
fn from(value: &IFileDialogEvents) -> Self
Converts to this type from the input type.
§impl From<IFileDialogEvents> for IUnknown
impl From<IFileDialogEvents> for IUnknown
§fn from(value: IFileDialogEvents) -> Self
fn from(value: IFileDialogEvents) -> Self
Converts to this type from the input type.
§impl Interface for IFileDialogEvents
impl Interface for IFileDialogEvents
§fn as_raw(&self) -> *mut c_void
fn as_raw(&self) -> *mut c_void
Returns the raw COM interface pointer. The resulting pointer continues to be owned by the
Interface
implementation.§fn into_raw(self) -> *mut c_void
fn into_raw(self) -> *mut c_void
Returns the raw COM interface pointer and releases ownership. It the caller’s responsibility to release the COM interface pointer.
§fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
fn cast<T>(&self) -> Result<T, Error>where
T: Interface,
Attempts to cast the current interface to another interface using
QueryInterface
. Read more§impl PartialEq for IFileDialogEvents
impl PartialEq for IFileDialogEvents
§fn eq(&self, other: &IFileDialogEvents) -> bool
fn eq(&self, other: &IFileDialogEvents) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for IFileDialogEvents
impl StructuralPartialEq for IFileDialogEvents
Auto Trait Implementations§
impl RefUnwindSafe for IFileDialogEvents
impl !Send for IFileDialogEvents
impl !Sync for IFileDialogEvents
impl Unpin for IFileDialogEvents
impl UnwindSafe for IFileDialogEvents
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