Trait winsafe::prelude::dxgi_IDXGIDeviceSubObject
source · pub trait dxgi_IDXGIDeviceSubObject: dxgi_IDXGIObject {
// Provided method
fn GetDevice<T>(&self) -> HrResult<T>
where T: ole_IUnknown { ... }
}
Available on crate features
kernel
and dxgi
only.Expand description
This trait is enabled with the dxgi
feature, and provides methods for
IDXGIDeviceSubObject
.
Prefer importing this trait through the prelude:
use winsafe::prelude::*;
Provided Methods§
sourcefn GetDevice<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn GetDevice<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IDXGIDeviceSubObject::GetDevice
method.
Object Safety§
This trait is not object safe.