Struct winsafe::IDXGISwapChain
source · pub struct IDXGISwapChain(/* private fields */);
Available on crate feature
dxgi
only.Expand description
IDXGISwapChain
COM interface over IDXGISwapChainVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IDXGISwapChain
impl Clone for IDXGISwapChain
source§impl Drop for IDXGISwapChain
impl Drop for IDXGISwapChain
source§impl dxgi_IDXGIDeviceSubObject for IDXGISwapChain
impl dxgi_IDXGIDeviceSubObject for IDXGISwapChain
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 IDXGISwapChain
impl dxgi_IDXGIObject for IDXGISwapChain
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_IDXGISwapChain for IDXGISwapChain
impl dxgi_IDXGISwapChain for IDXGISwapChain
source§fn GetContainingOutput(&self) -> HrResult<IDXGIOutput>
fn GetContainingOutput(&self) -> HrResult<IDXGIOutput>
source§fn GetDesc(&self) -> HrResult<DXGI_SWAP_CHAIN_DESC>
fn GetDesc(&self) -> HrResult<DXGI_SWAP_CHAIN_DESC>
IDXGISwapChain::GetDesc
method.source§fn GetFrameStatistics(&self) -> HrResult<DXGI_FRAME_STATISTICS>
fn GetFrameStatistics(&self) -> HrResult<DXGI_FRAME_STATISTICS>
source§fn GetFullscreenState(&self) -> HrResult<(bool, Option<IDXGIOutput>)>
fn GetFullscreenState(&self) -> HrResult<(bool, Option<IDXGIOutput>)>
source§fn Present(&self, sync_interval: u32, flags: DXGI_PRESENT) -> HrResult<()>
fn Present(&self, sync_interval: u32, flags: DXGI_PRESENT) -> HrResult<()>
IDXGISwapChain::Present
method.source§fn ResizeTarget(&self, new_target_parameters: &DXGI_MODE_DESC) -> HrResult<()>
fn ResizeTarget(&self, new_target_parameters: &DXGI_MODE_DESC) -> HrResult<()>
IDXGISwapChain::ResizeTarget
method.source§fn SetFullscreenState(
&self,
fullscreen: bool,
target: Option<&impl dxgi_IDXGIOutput>
) -> HrResult<()>
fn SetFullscreenState( &self, fullscreen: bool, target: Option<&impl dxgi_IDXGIOutput> ) -> HrResult<()>
source§impl ole_IUnknown for IDXGISwapChain
impl ole_IUnknown for IDXGISwapChain
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 IDXGISwapChain
Auto Trait Implementations§
impl Freeze for IDXGISwapChain
impl RefUnwindSafe for IDXGISwapChain
impl !Sync for IDXGISwapChain
impl Unpin for IDXGISwapChain
impl UnwindSafe for IDXGISwapChain
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