#[repr(C)]
pub struct IDirectManipulationViewport_Vtbl {
Show 29 fields pub base__: IUnknown_Vtbl, pub Enable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Disable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub SetContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub ReleaseContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub ReleaseAllContacts: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DIRECTMANIPULATION_STATUS) -> HRESULT, pub GetTag: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void, _: *mut u32) -> HRESULT, pub SetTag: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT, pub GetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT, pub SetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT, pub ZoomToRect: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: f32, _: BOOL) -> HRESULT, pub SetViewportTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT, pub SyncDisplayTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT, pub GetPrimaryContent: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT, pub AddContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub RemoveContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT, pub SetViewportOptions: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_VIEWPORT_OPTIONS) -> HRESULT, pub AddConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT, pub RemoveConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT, pub ActivateConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT, pub SetManualGesture: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_GESTURE_CONFIGURATION) -> HRESULT, pub SetChaining: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_MOTION_TYPES) -> HRESULT, pub AddEventHandler: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: *mut c_void, _: *mut u32) -> HRESULT, pub RemoveEventHandler: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT, pub SetInputMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT, pub SetUpdateMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT, pub Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT, pub Abandon: unsafe extern "system" fn(_: *mut c_void) -> HRESULT,
}

Fields§

§base__: IUnknown_Vtbl§Enable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Disable: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§SetContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§ReleaseContact: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§ReleaseAllContacts: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§GetStatus: unsafe extern "system" fn(_: *mut c_void, _: *mut DIRECTMANIPULATION_STATUS) -> HRESULT§GetTag: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void, _: *mut u32) -> HRESULT§SetTag: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void, _: u32) -> HRESULT§GetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *mut RECT) -> HRESULT§SetViewportRect: unsafe extern "system" fn(_: *mut c_void, _: *const RECT) -> HRESULT§ZoomToRect: unsafe extern "system" fn(_: *mut c_void, _: f32, _: f32, _: f32, _: f32, _: BOOL) -> HRESULT§SetViewportTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT§SyncDisplayTransform: unsafe extern "system" fn(_: *mut c_void, _: *const f32, _: u32) -> HRESULT§GetPrimaryContent: unsafe extern "system" fn(_: *mut c_void, _: *const GUID, _: *mut *mut c_void) -> HRESULT§AddContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§RemoveContent: unsafe extern "system" fn(_: *mut c_void, _: *mut c_void) -> HRESULT§SetViewportOptions: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_VIEWPORT_OPTIONS) -> HRESULT§AddConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT§RemoveConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT§ActivateConfiguration: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_CONFIGURATION) -> HRESULT§SetManualGesture: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_GESTURE_CONFIGURATION) -> HRESULT§SetChaining: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_MOTION_TYPES) -> HRESULT§AddEventHandler: unsafe extern "system" fn(_: *mut c_void, _: HWND, _: *mut c_void, _: *mut u32) -> HRESULT§RemoveEventHandler: unsafe extern "system" fn(_: *mut c_void, _: u32) -> HRESULT§SetInputMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT§SetUpdateMode: unsafe extern "system" fn(_: *mut c_void, _: DIRECTMANIPULATION_INPUT_MODE) -> HRESULT§Stop: unsafe extern "system" fn(_: *mut c_void) -> HRESULT§Abandon: unsafe extern "system" fn(_: *mut c_void) -> HRESULT

Implementations§

§

impl IDirectManipulationViewport_Vtbl

pub const fn new<Identity, const OFFSET: isize>() -> IDirectManipulationViewport_Vtbl
where Identity: IDirectManipulationViewport_Impl + IUnknownImpl,

pub fn matches(iid: &GUID) -> bool

Auto Trait Implementations§

Blanket Implementations§

source§

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

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

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

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for T
where 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 T
where 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 T
where 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 T
where 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.