pub struct DisplayInfo {
pub active_mode_id: i32,
pub vsync_rate: f32,
pub peak_refresh_rate: f32,
pub render_frame_rate: f32,
pub is_interactive: bool,
}Fields§
§active_mode_id: i32§vsync_rate: f32§peak_refresh_rate: f32§render_frame_rate: f32§is_interactive: boolTrait Implementations§
Source§impl Clone for DisplayInfo
impl Clone for DisplayInfo
Source§fn clone(&self) -> DisplayInfo
fn clone(&self) -> DisplayInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for DisplayInfo
Source§impl Debug for DisplayInfo
impl Debug for DisplayInfo
Source§impl Default for DisplayInfo
impl Default for DisplayInfo
Source§fn default() -> DisplayInfo
fn default() -> DisplayInfo
Returns the “default value” for a type. Read more
Source§impl PartialEq for DisplayInfo
impl PartialEq for DisplayInfo
impl StructuralPartialEq for DisplayInfo
Auto Trait Implementations§
impl Freeze for DisplayInfo
impl RefUnwindSafe for DisplayInfo
impl Send for DisplayInfo
impl Sync for DisplayInfo
impl Unpin for DisplayInfo
impl UnsafeUnpin for DisplayInfo
impl UnwindSafe for DisplayInfo
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