Struct winsafe::IDXGIDeviceSubObject
source · pub struct IDXGIDeviceSubObject(/* private fields */);
Available on crate feature
dxgi
only.Expand description
IDXGIDeviceSubObject
COM interface over IDXGIDeviceSubObjectVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IDXGIDeviceSubObject
impl Clone for IDXGIDeviceSubObject
source§impl Drop for IDXGIDeviceSubObject
impl Drop for IDXGIDeviceSubObject
source§impl dxgi_IDXGIDeviceSubObject for IDXGIDeviceSubObject
impl dxgi_IDXGIDeviceSubObject for IDXGIDeviceSubObject
source§fn GetDevice<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
fn GetDevice<T>(&self) -> HrResult<T>where
T: ole_IUnknown,
IDXGIDeviceSubObject::GetDevice
method.source§impl dxgi_IDXGIObject for IDXGIDeviceSubObject
impl dxgi_IDXGIObject for IDXGIDeviceSubObject
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 IDXGIDeviceSubObject
impl ole_IUnknown for IDXGIDeviceSubObject
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 IDXGIDeviceSubObject
Auto Trait Implementations§
impl Freeze for IDXGIDeviceSubObject
impl RefUnwindSafe for IDXGIDeviceSubObject
impl !Sync for IDXGIDeviceSubObject
impl Unpin for IDXGIDeviceSubObject
impl UnwindSafe for IDXGIDeviceSubObject
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