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