#[repr(C)]
pub struct IViewObject2Vtbl { pub QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>, pub AddRef: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2) -> ULONG>, pub Release: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2) -> ULONG>, pub Draw: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcTargetDev: HDC, hdcDraw: HDC, lprcBounds: LPCRECTL, lprcWBounds: LPCRECTL, pfnContinue: Option<unsafe extern "stdcall" fn(dwContinue: DWORD) -> BOOL>, dwContinue: DWORD) -> HRESULT>, pub GetColorSet: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hicTargetDev: HDC, ppColorSet: *mut *mut LOGPALETTE) -> HRESULT>, pub Freeze: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, pdwFreeze: *mut DWORD) -> HRESULT>, pub Unfreeze: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwFreeze: DWORD) -> HRESULT>, pub SetAdvise: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, aspects: DWORD, advf: DWORD, pAdvSink: *mut IAdviseSink) -> HRESULT>, pub GetAdvise: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, pAspects: *mut DWORD, pAdvf: *mut DWORD, ppAdvSink: *mut *mut IAdviseSink) -> HRESULT>, pub GetExtent: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, ptd: *mut DVTARGETDEVICE, lpsizel: LPSIZEL) -> HRESULT>, }

Fields§

§QueryInterface: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, riid: *const IID, ppvObject: *mut *mut c_void) -> HRESULT>§AddRef: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2) -> ULONG>§Release: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2) -> ULONG>§Draw: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hdcTargetDev: HDC, hdcDraw: HDC, lprcBounds: LPCRECTL, lprcWBounds: LPCRECTL, pfnContinue: Option<unsafe extern "stdcall" fn(dwContinue: DWORD) -> BOOL>, dwContinue: DWORD) -> HRESULT>§GetColorSet: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, ptd: *mut DVTARGETDEVICE, hicTargetDev: HDC, ppColorSet: *mut *mut LOGPALETTE) -> HRESULT>§Freeze: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, pvAspect: *mut c_void, pdwFreeze: *mut DWORD) -> HRESULT>§Unfreeze: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwFreeze: DWORD) -> HRESULT>§SetAdvise: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, aspects: DWORD, advf: DWORD, pAdvSink: *mut IAdviseSink) -> HRESULT>§GetAdvise: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, pAspects: *mut DWORD, pAdvf: *mut DWORD, ppAdvSink: *mut *mut IAdviseSink) -> HRESULT>§GetExtent: Option<unsafe extern "stdcall" fn(This: *mut IViewObject2, dwDrawAspect: DWORD, lindex: LONG, ptd: *mut DVTARGETDEVICE, lpsizel: LPSIZEL) -> HRESULT>

Trait Implementations§

source§

impl Clone for IViewObject2Vtbl

source§

fn clone(&self) -> IViewObject2Vtbl

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
source§

impl Copy for IViewObject2Vtbl

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.