windows::Win32::System::Com

Trait IPersistFile_Impl

pub trait IPersistFile_Impl: IPersist_Impl {
    // Required methods
    fn IsDirty(&self) -> HRESULT;
    fn Load(&self, pszfilename: &PCWSTR, dwmode: STGM) -> Result<()>;
    fn Save(&self, pszfilename: &PCWSTR, fremember: BOOL) -> Result<()>;
    fn SaveCompleted(&self, pszfilename: &PCWSTR) -> Result<()>;
    fn GetCurFile(&self) -> Result<PWSTR>;
}

Required Methods§

fn IsDirty(&self) -> HRESULT

fn Load(&self, pszfilename: &PCWSTR, dwmode: STGM) -> Result<()>

fn Save(&self, pszfilename: &PCWSTR, fremember: BOOL) -> Result<()>

fn SaveCompleted(&self, pszfilename: &PCWSTR) -> Result<()>

fn GetCurFile(&self) -> Result<PWSTR>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§