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