Struct winsafe::IPersistStream
source · pub struct IPersistStream(/* private fields */);
Available on crate feature
ole
only.Expand description
IPersistStream
COM interface over IPersistStreamVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IPersistStream
impl Clone for IPersistStream
source§impl Drop for IPersistStream
impl Drop for IPersistStream
source§impl ole_IPersist for IPersistStream
impl ole_IPersist for IPersistStream
source§fn GetClassID(&self) -> HrResult<CLSID>
fn GetClassID(&self) -> HrResult<CLSID>
IPersist::GetClassID
method.source§impl ole_IPersistStream for IPersistStream
impl ole_IPersistStream for IPersistStream
source§fn GetSizeMax(&self) -> HrResult<u64>
fn GetSizeMax(&self) -> HrResult<u64>
IPersistStream::GetSizeMax
method.source§fn Load(&self, stream: &impl ole_IStream) -> HrResult<()>
fn Load(&self, stream: &impl ole_IStream) -> HrResult<()>
IPersistStream::Load
method.source§fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>
fn Save(&self, stream: &impl ole_IStream, clear_dirty: bool) -> HrResult<()>
IPersistStream::Save
method.source§impl ole_IUnknown for IPersistStream
impl ole_IUnknown for IPersistStream
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 IPersistStream
Auto Trait Implementations§
impl Freeze for IPersistStream
impl RefUnwindSafe for IPersistStream
impl !Sync for IPersistStream
impl Unpin for IPersistStream
impl UnwindSafe for IPersistStream
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