Struct IFileSaveDialog
pub struct IFileSaveDialog(/* private fields */);Implementations§
§impl IFileSaveDialog
 
impl IFileSaveDialog
pub unsafe fn SetSaveAsItem<P0>(&self, psi: P0) -> Result<()>where
    P0: Param<IShellItem>,
pub unsafe fn SetProperties<P0>(&self, pstore: P0) -> Result<()>where
    P0: Param<IPropertyStore>,
pub unsafe fn SetCollectedProperties<P0>(
    &self,
    plist: P0,
    fappenddefault: bool,
) -> Result<()>where
    P0: Param<IPropertyDescriptionList>,
pub unsafe fn GetProperties(&self) -> Result<IPropertyStore>
pub unsafe fn ApplyProperties<P0, P1, P3>( &self, psi: P0, pstore: P1, hwnd: HWND, psink: P3, ) -> Result<()>
Methods from Deref<Target = IFileDialog>§
pub unsafe fn SetFileTypes( &self, rgfilterspec: &[COMDLG_FILTERSPEC], ) -> Result<()>
pub unsafe fn SetFileTypeIndex(&self, ifiletype: u32) -> Result<()>
pub unsafe fn GetFileTypeIndex(&self) -> Result<u32>
pub unsafe fn Advise<P0>(&self, pfde: P0) -> Result<u32>where
    P0: Param<IFileDialogEvents>,
pub unsafe fn Unadvise(&self, dwcookie: u32) -> Result<()>
pub unsafe fn SetOptions(&self, fos: FILEOPENDIALOGOPTIONS) -> Result<()>
pub unsafe fn GetOptions(&self) -> Result<FILEOPENDIALOGOPTIONS>
pub unsafe fn SetDefaultFolder<P0>(&self, psi: P0) -> Result<()>where
    P0: Param<IShellItem>,
pub unsafe fn SetFolder<P0>(&self, psi: P0) -> Result<()>where
    P0: Param<IShellItem>,
pub unsafe fn GetFolder(&self) -> Result<IShellItem>
pub unsafe fn GetCurrentSelection(&self) -> Result<IShellItem>
pub unsafe fn SetFileName<P0>(&self, pszname: P0) -> Result<()>where
    P0: Param<PCWSTR>,
pub unsafe fn GetFileName(&self) -> Result<PWSTR>
pub unsafe fn SetTitle<P0>(&self, psztitle: P0) -> Result<()>where
    P0: Param<PCWSTR>,
pub unsafe fn SetOkButtonLabel<P0>(&self, psztext: P0) -> Result<()>where
    P0: Param<PCWSTR>,
pub unsafe fn SetFileNameLabel<P0>(&self, pszlabel: P0) -> Result<()>where
    P0: Param<PCWSTR>,
pub unsafe fn GetResult(&self) -> Result<IShellItem>
pub unsafe fn AddPlace<P0>(&self, psi: P0, fdap: FDAP) -> Result<()>where
    P0: Param<IShellItem>,
pub unsafe fn SetDefaultExtension<P0>(
    &self,
    pszdefaultextension: P0,
) -> Result<()>where
    P0: Param<PCWSTR>,
pub unsafe fn Close(&self, hr: HRESULT) -> Result<()>
pub unsafe fn SetClientGuid(&self, guid: *const GUID) -> Result<()>
pub unsafe fn ClearClientData(&self) -> Result<()>
pub unsafe fn SetFilter<P0>(&self, pfilter: P0) -> Result<()>where
    P0: Param<IShellItemFilter>,
Methods from Deref<Target = IModalWindow>§
Trait Implementations§
§impl CanInto<IFileDialog> for IFileSaveDialog
 
impl CanInto<IFileDialog> for IFileSaveDialog
§impl CanInto<IModalWindow> for IFileSaveDialog
 
impl CanInto<IModalWindow> for IFileSaveDialog
§impl CanInto<IUnknown> for IFileSaveDialog
 
impl CanInto<IUnknown> for IFileSaveDialog
§impl Clone for IFileSaveDialog
 
impl Clone for IFileSaveDialog
§fn clone(&self) -> IFileSaveDialog
 
fn clone(&self) -> IFileSaveDialog
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 IFileSaveDialog
 
impl Debug for IFileSaveDialog
§impl Deref for IFileSaveDialog
 
impl Deref for IFileSaveDialog
§impl From<&IFileSaveDialog> for &IFileDialog
 
impl From<&IFileSaveDialog> for &IFileDialog
§fn from(value: &IFileSaveDialog) -> Self
 
fn from(value: &IFileSaveDialog) -> Self
Converts to this type from the input type.
§impl From<&IFileSaveDialog> for &IModalWindow
 
impl From<&IFileSaveDialog> for &IModalWindow
§fn from(value: &IFileSaveDialog) -> Self
 
fn from(value: &IFileSaveDialog) -> Self
Converts to this type from the input type.
§impl From<&IFileSaveDialog> for &IUnknown
 
impl From<&IFileSaveDialog> for &IUnknown
§fn from(value: &IFileSaveDialog) -> Self
 
fn from(value: &IFileSaveDialog) -> Self
Converts to this type from the input type.
§impl From<IFileSaveDialog> for IFileDialog
 
impl From<IFileSaveDialog> for IFileDialog
§fn from(value: IFileSaveDialog) -> Self
 
fn from(value: IFileSaveDialog) -> Self
Converts to this type from the input type.
§impl From<IFileSaveDialog> for IModalWindow
 
impl From<IFileSaveDialog> for IModalWindow
§fn from(value: IFileSaveDialog) -> Self
 
fn from(value: IFileSaveDialog) -> Self
Converts to this type from the input type.
§impl From<IFileSaveDialog> for IUnknown
 
impl From<IFileSaveDialog> for IUnknown
§fn from(value: IFileSaveDialog) -> Self
 
fn from(value: IFileSaveDialog) -> Self
Converts to this type from the input type.
§impl Interface for IFileSaveDialog
 
impl Interface for IFileSaveDialog
§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.
§unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
 
unsafe fn from_raw_borrowed(raw: &*mut c_void) -> Option<&Self>
§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§fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn cast_to_any<T>(&self) -> Result<&(dyn Any + 'static), Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any]. Read more§fn is_object<T>(&self) -> boolwhere
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn is_object<T>(&self) -> boolwhere
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
§fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn cast_object_ref<T>(&self) -> Result<&<T as ComObjectInner>::Outer, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. &MyApp_Impl, not the inner &MyApp object. Read more§fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
 
fn cast_object<T>(&self) -> Result<ComObject<T>, Error>where
    T: ComObjectInner,
    <T as ComObjectInner>::Outer: Any + 'static + IUnknownImpl<Impl = T>,
This casts the given COM interface to [
&dyn Any]. It returns a reference to the “outer”
object, e.g. MyApp_Impl, not the inner MyApp object. Read more§fn downgrade(&self) -> Result<Weak<Self>, Error>
 
fn downgrade(&self) -> Result<Weak<Self>, Error>
Attempts to create a [
Weak] reference to this object.§impl PartialEq for IFileSaveDialog
 
impl PartialEq for IFileSaveDialog
impl Eq for IFileSaveDialog
impl StructuralPartialEq for IFileSaveDialog
Auto Trait Implementations§
impl Freeze for IFileSaveDialog
impl RefUnwindSafe for IFileSaveDialog
impl !Send for IFileSaveDialog
impl !Sync for IFileSaveDialog
impl Unpin for IFileSaveDialog
impl UnwindSafe for IFileSaveDialog
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