#[repr(C, packed(1))]pub struct DWM_PRESENT_PARAMETERS {
pub cbSize: UINT32,
pub fQueue: BOOL,
pub cRefreshStart: DWM_FRAME_COUNT,
pub cBuffer: UINT,
pub fUseSourceRate: BOOL,
pub rateSource: UNSIGNED_RATIO,
pub cRefreshesPerFrame: UINT,
pub eSampling: DWM_SOURCE_FRAME_SAMPLING,
}
Fields§
§cbSize: UINT32
§fQueue: BOOL
§cRefreshStart: DWM_FRAME_COUNT
§cBuffer: UINT
§fUseSourceRate: BOOL
§rateSource: UNSIGNED_RATIO
§cRefreshesPerFrame: UINT
§eSampling: DWM_SOURCE_FRAME_SAMPLING
Trait Implementations§
Source§impl Clone for DWM_PRESENT_PARAMETERS
impl Clone for DWM_PRESENT_PARAMETERS
Source§fn clone(&self) -> DWM_PRESENT_PARAMETERS
fn clone(&self) -> DWM_PRESENT_PARAMETERS
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Default for DWM_PRESENT_PARAMETERS
impl Default for DWM_PRESENT_PARAMETERS
Source§fn default() -> DWM_PRESENT_PARAMETERS
fn default() -> DWM_PRESENT_PARAMETERS
Returns the “default value” for a type. Read more
impl Copy for DWM_PRESENT_PARAMETERS
Auto Trait Implementations§
impl Freeze for DWM_PRESENT_PARAMETERS
impl RefUnwindSafe for DWM_PRESENT_PARAMETERS
impl Send for DWM_PRESENT_PARAMETERS
impl Sync for DWM_PRESENT_PARAMETERS
impl Unpin for DWM_PRESENT_PARAMETERS
impl UnwindSafe for DWM_PRESENT_PARAMETERS
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