Struct winsafe::IDXGIDevice
source · pub struct IDXGIDevice(/* private fields */);
Available on crate feature
dxgi
only.Expand description
IDXGIDevice
COM interface over IDXGIDeviceVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IDXGIDevice
impl Clone for IDXGIDevice
source§impl Drop for IDXGIDevice
impl Drop for IDXGIDevice
source§impl dxgi_IDXGIDevice for IDXGIDevice
impl dxgi_IDXGIDevice for IDXGIDevice
source§fn CreateSurface(
&self,
desc: &DXGI_SURFACE_DESC,
num_surfaces: u32,
usage: DXGI_USAGE,
shared_resource: Option<&DXGI_SHARED_RESOURCE>
) -> HrResult<IDXGISurface>
fn CreateSurface( &self, desc: &DXGI_SURFACE_DESC, num_surfaces: u32, usage: DXGI_USAGE, shared_resource: Option<&DXGI_SHARED_RESOURCE> ) -> HrResult<IDXGISurface>
IDXGIDevice::CreateSurface
method.source§fn GetAdapter(&self) -> HrResult<IDXGIAdapter>
fn GetAdapter(&self) -> HrResult<IDXGIAdapter>
IDXGIDevice::GetAdapter
method.source§fn GetGPUThreadPriority(&self) -> HrResult<i8>
fn GetGPUThreadPriority(&self) -> HrResult<i8>
source§impl dxgi_IDXGIObject for IDXGIDevice
impl dxgi_IDXGIObject for IDXGIDevice
source§fn GetParent<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn GetParent<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IDXGIObject::GetParent
method.source§fn SetPrivateData<T>(&self, name: &GUID, data: &T) -> HrResult<()>where
T: Sized,
fn SetPrivateData<T>(&self, name: &GUID, data: &T) -> HrResult<()>where
T: Sized,
IDXGIObject::SetPrivateData
method. Read moresource§fn SetPrivateDataInterface<T>(&self, obj: &T) -> HrResult<()>where
T: ole_IUnknown,
fn SetPrivateDataInterface<T>(&self, obj: &T) -> HrResult<()>where
T: ole_IUnknown,
source§impl ole_IUnknown for IDXGIDevice
impl ole_IUnknown for IDXGIDevice
source§unsafe fn from_ptr(p: *mut c_void) -> Self
unsafe fn from_ptr(p: *mut c_void) -> Self
Available on crate feature
ole
only.Creates an object from a COM virtual table pointer. Read more
source§unsafe fn as_mut(&mut self) -> &mut *mut c_void
unsafe fn as_mut(&mut self) -> &mut *mut c_void
Available on crate feature
ole
only.Returns a mutable reference do the underlying COM virtual table pointer. Read more
source§fn ptr(&self) -> *mut c_void
fn ptr(&self) -> *mut c_void
Available on crate feature
ole
only.Returns the pointer to the underlying COM virtual table. Read more
source§unsafe fn null() -> Self
unsafe fn null() -> Self
Available on crate feature
ole
only.Creates an object from a null COM virtual table pointer. Read more
source§fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn QueryInterface<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
Available on crate feature
ole
only.IUnknown::QueryInterface
method.impl Send for IDXGIDevice
Auto Trait Implementations§
impl Freeze for IDXGIDevice
impl RefUnwindSafe for IDXGIDevice
impl !Sync for IDXGIDevice
impl Unpin for IDXGIDevice
impl UnwindSafe for IDXGIDevice
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