pub struct IPersist(/* private fields */);
Available on crate feature
ole
only.Expand description
IPersist
COM interface over IPersistVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl ole_IPersist for IPersist
impl ole_IPersist for IPersist
source§fn GetClassID(&self) -> HrResult<CLSID>
fn GetClassID(&self) -> HrResult<CLSID>
IPersist::GetClassID
method.source§impl ole_IUnknown for IPersist
impl ole_IUnknown for IPersist
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Returns the pointer to the underlying COM virtual table. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IUnknown::QueryInterface
method.impl Send for IPersist
Auto Trait Implementations§
impl Freeze for IPersist
impl RefUnwindSafe for IPersist
impl !Sync for IPersist
impl Unpin for IPersist
impl UnwindSafe for IPersist
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