[][src]Struct druid_shell::windows::util::OptionalFunctions

pub struct OptionalFunctions {
    pub GetDpiForSystem: Option<unsafe extern "system" fn() -> UINT>,
    pub GetDpiForMonitor: Option<unsafe extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT)>,
    pub SetProcessDpiAwareness: Option<unsafe extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT>,
    pub DCompositionCreateDevice2: Option<unsafe extern "system" fn(renderingDevice: *const IUnknown, iid: REFIID, dcompositionDevice: *mut *mut c_void) -> HRESULT>,
    pub CreateDXGIFactory2: Option<unsafe extern "system" fn(Flags: UINT, riid: REFIID, ppFactory: *mut *mut c_void) -> HRESULT>,
}

Fields

GetDpiForSystem: Option<unsafe extern "system" fn() -> UINT>GetDpiForMonitor: Option<unsafe extern "system" fn(_: HMONITOR, _: MONITOR_DPI_TYPE, _: *mut UINT, _: *mut UINT)>SetProcessDpiAwareness: Option<unsafe extern "system" fn(_: PROCESS_DPI_AWARENESS) -> HRESULT>DCompositionCreateDevice2: Option<unsafe extern "system" fn(renderingDevice: *const IUnknown, iid: REFIID, dcompositionDevice: *mut *mut c_void) -> HRESULT>CreateDXGIFactory2: Option<unsafe extern "system" fn(Flags: UINT, riid: REFIID, ppFactory: *mut *mut c_void) -> HRESULT>

Auto Trait Implementations

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

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

The type returned in the event of a conversion error.

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>,