pub struct IPersistStorage(/* private fields */);Implementations§
Source§impl IPersistStorage
impl IPersistStorage
pub unsafe fn GetClassID(&self, pclassid: *mut Guid) -> ErrorCode
pub unsafe fn IsDirty(&self) -> ErrorCode
pub unsafe fn InitNew<'a, T0__: IntoParam<'a, IStorage>>( &self, pstg: T0__, ) -> ErrorCode
pub unsafe fn Load<'a, T0__: IntoParam<'a, IStorage>>( &self, pstg: T0__, ) -> ErrorCode
pub unsafe fn Save<'a, T0__: IntoParam<'a, IStorage>, T1__: IntoParam<'a, BOOL>>( &self, pstgsave: T0__, fsameasload: T1__, ) -> ErrorCode
pub unsafe fn SaveCompleted<'a, T0__: IntoParam<'a, IStorage>>( &self, pstgnew: T0__, ) -> ErrorCode
pub unsafe fn HandsOffStorage(&self) -> ErrorCode
Trait Implementations§
Source§impl Clone for IPersistStorage
impl Clone for IPersistStorage
Source§fn clone(&self) -> IPersistStorage
fn clone(&self) -> IPersistStorage
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 IPersistStorage
impl Debug for IPersistStorage
Source§impl From<&IPersistStorage> for IPersist
impl From<&IPersistStorage> for IPersist
Source§fn from(value: &IPersistStorage) -> Self
fn from(value: &IPersistStorage) -> Self
Converts to this type from the input type.
Source§impl From<&IPersistStorage> for IUnknown
impl From<&IPersistStorage> for IUnknown
Source§fn from(value: &IPersistStorage) -> Self
fn from(value: &IPersistStorage) -> Self
Converts to this type from the input type.
Source§impl From<IPersistStorage> for IPersist
impl From<IPersistStorage> for IPersist
Source§fn from(value: IPersistStorage) -> Self
fn from(value: IPersistStorage) -> Self
Converts to this type from the input type.
Source§impl From<IPersistStorage> for IUnknown
impl From<IPersistStorage> for IUnknown
Source§fn from(value: IPersistStorage) -> Self
fn from(value: IPersistStorage) -> Self
Converts to this type from the input type.
Source§impl Interface for IPersistStorage
impl Interface for IPersistStorage
const IID: Guid
type Vtable = IPersistStorage_abi
Source§impl<'a> IntoParam<'a, IPersist> for &'a IPersistStorage
impl<'a> IntoParam<'a, IPersist> for &'a IPersistStorage
fn into_param(self) -> Param<'a, IPersist>
Source§impl<'a> IntoParam<'a, IPersist> for IPersistStorage
impl<'a> IntoParam<'a, IPersist> for IPersistStorage
fn into_param(self) -> Param<'a, IPersist>
Source§impl<'a> IntoParam<'a, IUnknown> for &'a IPersistStorage
impl<'a> IntoParam<'a, IUnknown> for &'a IPersistStorage
fn into_param(self) -> Param<'a, IUnknown>
Source§impl<'a> IntoParam<'a, IUnknown> for IPersistStorage
impl<'a> IntoParam<'a, IUnknown> for IPersistStorage
fn into_param(self) -> Param<'a, IUnknown>
Source§impl PartialEq for IPersistStorage
impl PartialEq for IPersistStorage
impl Eq for IPersistStorage
impl StructuralPartialEq for IPersistStorage
Auto Trait Implementations§
impl Freeze for IPersistStorage
impl RefUnwindSafe for IPersistStorage
impl !Send for IPersistStorage
impl !Sync for IPersistStorage
impl Unpin for IPersistStorage
impl UnwindSafe for IPersistStorage
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