Trait IPersistMemory_Impl
pub trait IPersistMemory_Impl: IPersist_Impl {
// Required methods
fn IsDirty(&self) -> HRESULT;
fn Load(&self, pmem: *const c_void, cbsize: u32) -> Result<()>;
fn Save(
&self,
pmem: *mut c_void,
fcleardirty: BOOL,
cbsize: u32,
) -> Result<()>;
fn GetSizeMax(&self) -> Result<u32>;
fn InitNew(&self) -> Result<()>;
}
Required Methods§
fn IsDirty(&self) -> HRESULT
fn Load(&self, pmem: *const c_void, cbsize: u32) -> Result<()>
fn Save(&self, pmem: *mut c_void, fcleardirty: BOOL, cbsize: u32) -> Result<()>
fn GetSizeMax(&self) -> Result<u32>
fn InitNew(&self) -> Result<()>
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.