Struct DisplayPresentationRate
#[repr(C)]pub struct DisplayPresentationRate {
pub VerticalSyncRate: Rational,
pub VerticalSyncsPerPresentation: i32,
}
Fields§
§VerticalSyncRate: Rational
§VerticalSyncsPerPresentation: i32
Trait Implementations§
§impl Clone for DisplayPresentationRate
impl Clone for DisplayPresentationRate
§fn clone(&self) -> DisplayPresentationRate
fn clone(&self) -> DisplayPresentationRate
Returns a copy 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 more§impl Debug for DisplayPresentationRate
impl Debug for DisplayPresentationRate
§impl Default for DisplayPresentationRate
impl Default for DisplayPresentationRate
§fn default() -> DisplayPresentationRate
fn default() -> DisplayPresentationRate
Returns the “default value” for a type. Read more
§impl PartialEq for DisplayPresentationRate
impl PartialEq for DisplayPresentationRate
impl Copy for DisplayPresentationRate
impl StructuralPartialEq for DisplayPresentationRate
Auto Trait Implementations§
impl Freeze for DisplayPresentationRate
impl RefUnwindSafe for DisplayPresentationRate
impl Send for DisplayPresentationRate
impl Sync for DisplayPresentationRate
impl Unpin for DisplayPresentationRate
impl UnwindSafe for DisplayPresentationRate
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