#[repr(C)]pub struct IPersistStreamVtbl {
pub QueryInterface: Option<unsafe extern "C" fn(This: *mut IPersistStream, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>,
pub AddRef: Option<unsafe extern "C" fn(This: *mut IPersistStream) -> ULONG>,
pub Release: Option<unsafe extern "C" fn(This: *mut IPersistStream) -> ULONG>,
pub GetClassID: Option<unsafe extern "C" fn(This: *mut IPersistStream, pClassID: *mut CLSID) -> HRESULT>,
pub IsDirty: Option<unsafe extern "C" fn(This: *mut IPersistStream) -> HRESULT>,
pub Load: Option<unsafe extern "C" fn(This: *mut IPersistStream, pStm: *mut IStream) -> HRESULT>,
pub Save: Option<unsafe extern "C" fn(This: *mut IPersistStream, pStm: *mut IStream, fClearDirty: BOOL) -> HRESULT>,
pub GetSizeMax: Option<unsafe extern "C" fn(This: *mut IPersistStream, pcbSize: *mut ULARGE_INTEGER) -> HRESULT>,
}
Fields§
§QueryInterface: Option<unsafe extern "C" fn(This: *mut IPersistStream, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>
§AddRef: Option<unsafe extern "C" fn(This: *mut IPersistStream) -> ULONG>
§Release: Option<unsafe extern "C" fn(This: *mut IPersistStream) -> ULONG>
§GetClassID: Option<unsafe extern "C" fn(This: *mut IPersistStream, pClassID: *mut CLSID) -> HRESULT>
§IsDirty: Option<unsafe extern "C" fn(This: *mut IPersistStream) -> HRESULT>
§Load: Option<unsafe extern "C" fn(This: *mut IPersistStream, pStm: *mut IStream) -> HRESULT>
§Save: Option<unsafe extern "C" fn(This: *mut IPersistStream, pStm: *mut IStream, fClearDirty: BOOL) -> HRESULT>
§GetSizeMax: Option<unsafe extern "C" fn(This: *mut IPersistStream, pcbSize: *mut ULARGE_INTEGER) -> HRESULT>
Trait Implementations§
Source§impl Clone for IPersistStreamVtbl
impl Clone for IPersistStreamVtbl
Source§fn clone(&self) -> IPersistStreamVtbl
fn clone(&self) -> IPersistStreamVtbl
Returns a copy 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 IPersistStreamVtbl
impl Debug for IPersistStreamVtbl
Source§impl Ord for IPersistStreamVtbl
impl Ord for IPersistStreamVtbl
Source§fn cmp(&self, other: &IPersistStreamVtbl) -> Ordering
fn cmp(&self, other: &IPersistStreamVtbl) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for IPersistStreamVtbl
impl PartialEq for IPersistStreamVtbl
Source§impl PartialOrd for IPersistStreamVtbl
impl PartialOrd for IPersistStreamVtbl
impl Copy for IPersistStreamVtbl
impl Eq for IPersistStreamVtbl
impl StructuralPartialEq for IPersistStreamVtbl
Auto Trait Implementations§
impl Freeze for IPersistStreamVtbl
impl RefUnwindSafe for IPersistStreamVtbl
impl Send for IPersistStreamVtbl
impl Sync for IPersistStreamVtbl
impl Unpin for IPersistStreamVtbl
impl UnwindSafe for IPersistStreamVtbl
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