#[repr(C)]pub struct DISPLAYINFO {
pub left: INT32,
pub top: INT32,
pub right: INT32,
pub bottom: INT32,
pub width: INT32,
pub height: INT32,
pub bits: INT32,
pub palsize: INT32,
pub palrsvd: INT32,
pub pages: INT32,
pub refresh: f32,
pub winnt: INT32,
}Fields§
§left: INT32< left of display
top: INT32< top of display
right: INT32< right of display
bottom: INT32< bottom of display
width: INT32< width of display
height: INT32< height of display
bits: INT32< bits per pixel
palsize: INT32< total entries in palette (\c 0 if not indexed display mode)
palrsvd: INT32< number of static entries in palette ( \c 0 if not indexed display mode)
pages: INT32< pages supported
refresh: f32< refresh rate in Hz
winnt: INT32< \c 0 if Windows 95, \c 1 if Windows NT
Trait 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 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§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
impl Copy 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 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