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§
impl Freeze for OptionalFunctions
impl RefUnwindSafe for OptionalFunctions
impl Send for OptionalFunctions
impl Sync for OptionalFunctions
impl Unpin for OptionalFunctions
impl UnwindSafe for OptionalFunctions
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
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more