Struct winsafe::DXGI_FRAME_STATISTICS
source · #[repr(C)]pub struct DXGI_FRAME_STATISTICS {
pub PresentCount: u32,
pub PresentRefreshCount: u32,
pub SyncRefreshCount: u32,
pub SyncQPCTime: i64,
pub SyncGPUTime: i64,
}
Available on crate feature
dxgi
only.Expand description
DXGI_FRAME_STATISTICS
struct.
Fields§
§PresentCount: u32
§PresentRefreshCount: u32
§SyncRefreshCount: u32
§SyncQPCTime: i64
§SyncGPUTime: i64
Trait Implementations§
source§impl Default for DXGI_FRAME_STATISTICS
impl Default for DXGI_FRAME_STATISTICS
source§fn default() -> DXGI_FRAME_STATISTICS
fn default() -> DXGI_FRAME_STATISTICS
Returns the “default value” for a type. Read more
source§impl PartialEq for DXGI_FRAME_STATISTICS
impl PartialEq for DXGI_FRAME_STATISTICS
source§fn eq(&self, other: &DXGI_FRAME_STATISTICS) -> bool
fn eq(&self, other: &DXGI_FRAME_STATISTICS) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for DXGI_FRAME_STATISTICS
impl StructuralPartialEq for DXGI_FRAME_STATISTICS
Auto Trait Implementations§
impl Freeze for DXGI_FRAME_STATISTICS
impl RefUnwindSafe for DXGI_FRAME_STATISTICS
impl Send for DXGI_FRAME_STATISTICS
impl Sync for DXGI_FRAME_STATISTICS
impl Unpin for DXGI_FRAME_STATISTICS
impl UnwindSafe for DXGI_FRAME_STATISTICS
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