pub struct IPersistMemory(/* private fields */);Implementations§
Source§impl IPersistMemory
impl IPersistMemory
pub unsafe fn GetClassID(&self, pclassid: *mut Guid) -> ErrorCode
pub unsafe fn IsDirty(&self) -> ErrorCode
pub unsafe fn Load(&self, pmem: *mut c_void, cbsize: u32) -> ErrorCode
pub unsafe fn Save<'a, T1__: IntoParam<'a, BOOL>>( &self, pmem: *mut c_void, fcleardirty: T1__, cbsize: u32, ) -> ErrorCode
pub unsafe fn GetSizeMax(&self, pcbsize: *mut u32) -> ErrorCode
pub unsafe fn InitNew(&self) -> ErrorCode
Trait Implementations§
Source§impl Clone for IPersistMemory
impl Clone for IPersistMemory
Source§fn clone(&self) -> IPersistMemory
fn clone(&self) -> IPersistMemory
Returns a duplicate 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 moreSource§impl Debug for IPersistMemory
impl Debug for IPersistMemory
Source§impl From<&IPersistMemory> for IPersist
impl From<&IPersistMemory> for IPersist
Source§fn from(value: &IPersistMemory) -> Self
fn from(value: &IPersistMemory) -> Self
Converts to this type from the input type.
Source§impl From<&IPersistMemory> for IUnknown
impl From<&IPersistMemory> for IUnknown
Source§fn from(value: &IPersistMemory) -> Self
fn from(value: &IPersistMemory) -> Self
Converts to this type from the input type.
Source§impl From<IPersistMemory> for IPersist
impl From<IPersistMemory> for IPersist
Source§fn from(value: IPersistMemory) -> Self
fn from(value: IPersistMemory) -> Self
Converts to this type from the input type.
Source§impl From<IPersistMemory> for IUnknown
impl From<IPersistMemory> for IUnknown
Source§fn from(value: IPersistMemory) -> Self
fn from(value: IPersistMemory) -> Self
Converts to this type from the input type.
Source§impl Interface for IPersistMemory
impl Interface for IPersistMemory
const IID: Guid
type Vtable = IPersistMemory_abi
Source§impl<'a> IntoParam<'a, IPersist> for &'a IPersistMemory
impl<'a> IntoParam<'a, IPersist> for &'a IPersistMemory
fn into_param(self) -> Param<'a, IPersist>
Source§impl<'a> IntoParam<'a, IPersist> for IPersistMemory
impl<'a> IntoParam<'a, IPersist> for IPersistMemory
fn into_param(self) -> Param<'a, IPersist>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IPersistMemory
impl<'a> IntoParam<'a, IUnknown> for &'a IPersistMemory
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IPersistMemory
impl<'a> IntoParam<'a, IUnknown> for IPersistMemory
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IPersistMemory
impl PartialEq for IPersistMemory
impl Eq for IPersistMemory
impl StructuralPartialEq for IPersistMemory
Auto Trait Implementations§
impl Freeze for IPersistMemory
impl RefUnwindSafe for IPersistMemory
impl !Send for IPersistMemory
impl !Sync for IPersistMemory
impl Unpin for IPersistMemory
impl UnwindSafe for IPersistMemory
Blanket Implementations§
Source§impl<T> Abi for Twhere
T: Interface,
impl<T> Abi for Twhere
T: Interface,
Source§fn set_abi(&mut self) -> *mut <T as Abi>::Abi
fn set_abi(&mut self) -> *mut <T as Abi>::Abi
Returns a pointer for setting the object’s value via an ABI call.
Source§unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
unsafe fn from_abi(abi: <T as Abi>::Abi) -> Result<T, Error>
Casts the ABI representation to a Rust object by taking ownership of the bits.
fn drop_param(_: &mut Param<'_, Self>)
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