Struct winsafe::IDXGIAdapter
source · pub struct IDXGIAdapter(/* private fields */);
Available on crate feature
dxgi
only.Expand description
IDXGIAdapter
COM interface over IDXGIAdapterVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IDXGIAdapter
impl Clone for IDXGIAdapter
source§impl Drop for IDXGIAdapter
impl Drop for IDXGIAdapter
source§impl dxgi_IDXGIAdapter for IDXGIAdapter
impl dxgi_IDXGIAdapter for IDXGIAdapter
source§fn EnumOutputs(&self) -> impl Iterator<Item = HrResult<IDXGIOutput>> + '_
fn EnumOutputs(&self) -> impl Iterator<Item = HrResult<IDXGIOutput>> + '_
IDXGIAdapter::EnumOutputs
method. Read moresource§fn GetDesc(&self, desc: &mut DXGI_ADAPTER_DESC) -> HrResult<()>
fn GetDesc(&self, desc: &mut DXGI_ADAPTER_DESC) -> HrResult<()>
IDXGIAdapter::GetDesc
method. Read moresource§impl dxgi_IDXGIObject for IDXGIAdapter
impl dxgi_IDXGIObject for IDXGIAdapter
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 IDXGIAdapter
impl ole_IUnknown for IDXGIAdapter
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 IDXGIAdapter
Auto Trait Implementations§
impl Freeze for IDXGIAdapter
impl RefUnwindSafe for IDXGIAdapter
impl !Sync for IDXGIAdapter
impl Unpin for IDXGIAdapter
impl UnwindSafe for IDXGIAdapter
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