Struct winsafe::IDXGIOutput
source · pub struct IDXGIOutput(/* private fields */);
Available on crate feature
dxgi
only.Expand description
IDXGIOutput
COM interface over IDXGIOutputVT
.
Automatically calls
Release
when the object goes out of scope.
Trait Implementations§
source§impl Clone for IDXGIOutput
impl Clone for IDXGIOutput
source§impl Drop for IDXGIOutput
impl Drop for IDXGIOutput
source§impl dxgi_IDXGIObject for IDXGIOutput
impl dxgi_IDXGIObject for IDXGIOutput
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_IDXGIOutput for IDXGIOutput
impl dxgi_IDXGIOutput for IDXGIOutput
source§fn FindClosestMatchingMode(
&self,
mode_to_match: &DXGI_MODE_DESC,
device_interface: Option<&impl ole_IUnknown>
) -> HrResult<DXGI_MODE_DESC>
fn FindClosestMatchingMode( &self, mode_to_match: &DXGI_MODE_DESC, device_interface: Option<&impl ole_IUnknown> ) -> HrResult<DXGI_MODE_DESC>
source§fn GetDesc(&self) -> HrResult<DXGI_OUTPUT_DESC>
fn GetDesc(&self) -> HrResult<DXGI_OUTPUT_DESC>
IDXGIOutput::GetDesc
method.source§fn GetDisplayModeList(
&self,
format: DXGI_FORMAT,
flags: DXGI_ENUM_MODES
) -> HrResult<Vec<DXGI_MODE_DESC>>
fn GetDisplayModeList( &self, format: DXGI_FORMAT, flags: DXGI_ENUM_MODES ) -> HrResult<Vec<DXGI_MODE_DESC>>
IDXGIOutput::GetDisplayModeList
method.source§fn GetDisplaySurfaceData(
&self,
destination: &impl dxgi_IDXGISurface
) -> HrResult<()>
fn GetDisplaySurfaceData( &self, destination: &impl dxgi_IDXGISurface ) -> HrResult<()>
source§fn GetFrameStatistics(&self) -> HrResult<DXGI_FRAME_STATISTICS>
fn GetFrameStatistics(&self) -> HrResult<DXGI_FRAME_STATISTICS>
IDXGIOutput::GetFrameStatistics
method.source§fn GetGammaControl(&self) -> HrResult<DXGI_GAMMA_CONTROL>
fn GetGammaControl(&self) -> HrResult<DXGI_GAMMA_CONTROL>
IDXGIOutput::GetGammaControl
method.source§fn ReleaseOwnership(&self)
fn ReleaseOwnership(&self)
IDXGIOutput::ReleaseOwnership
method.source§fn SetDisplaySurface(
&self,
scanout_surface: &impl dxgi_IDXGISurface
) -> HrResult<()>
fn SetDisplaySurface( &self, scanout_surface: &impl dxgi_IDXGISurface ) -> HrResult<()>
IDXGIOutput::SetDisplaySurface
method.source§fn SetGammaControl(&self, array: &DXGI_GAMMA_CONTROL) -> HrResult<()>
fn SetGammaControl(&self, array: &DXGI_GAMMA_CONTROL) -> HrResult<()>
IDXGIOutput::SetGammaControl
method.source§fn TakeOwnership(
&self,
device: &impl ole_IUnknown,
exclusive: bool
) -> HrResult<()>
fn TakeOwnership( &self, device: &impl ole_IUnknown, exclusive: bool ) -> HrResult<()>
IDXGIOutput::TakeOwnership
method.source§fn WaitForVBlank(&self) -> HrResult<()>
fn WaitForVBlank(&self) -> HrResult<()>
IDXGIOutput::WaitForVBlank
method.source§impl ole_IUnknown for IDXGIOutput
impl ole_IUnknown for IDXGIOutput
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 IDXGIOutput
Auto Trait Implementations§
impl Freeze for IDXGIOutput
impl RefUnwindSafe for IDXGIOutput
impl !Sync for IDXGIOutput
impl Unpin for IDXGIOutput
impl UnwindSafe for IDXGIOutput
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