#[repr(C)]
pub struct GDIINFO {
Show 45 fields pub ulVersion: u32, pub ulTechnology: u32, pub ulHorzSize: u32, pub ulVertSize: u32, pub ulHorzRes: u32, pub ulVertRes: u32, pub cBitsPixel: u32, pub cPlanes: u32, pub ulNumColors: u32, pub flRaster: u32, pub ulLogPixelsX: u32, pub ulLogPixelsY: u32, pub flTextCaps: u32, pub ulDACRed: u32, pub ulDACGreen: u32, pub ulDACBlue: u32, pub ulAspectX: u32, pub ulAspectY: u32, pub ulAspectXY: u32, pub xStyleStep: i32, pub yStyleStep: i32, pub denStyleStep: i32, pub ptlPhysOffset: POINTL, pub szlPhysSize: SIZE, pub ulNumPalReg: u32, pub ciDevice: COLORINFO, pub ulDevicePelsDPI: u32, pub ulPrimaryOrder: u32, pub ulHTPatternSize: u32, pub ulHTOutputFormat: u32, pub flHTFlags: u32, pub ulVRefresh: u32, pub ulBltAlignment: u32, pub ulPanningHorzRes: u32, pub ulPanningVertRes: u32, pub xPanningAlignment: u32, pub yPanningAlignment: u32, pub cxHTPat: u32, pub cyHTPat: u32, pub pHTPatA: *mut u8, pub pHTPatB: *mut u8, pub pHTPatC: *mut u8, pub flShadeBlend: u32, pub ulPhysicalPixelCharacteristics: u32, pub ulPhysicalPixelGamma: u32,
}
Expand description

Required features: "Win32_Foundation"

Fields§

§ulVersion: u32§ulTechnology: u32§ulHorzSize: u32§ulVertSize: u32§ulHorzRes: u32§ulVertRes: u32§cBitsPixel: u32§cPlanes: u32§ulNumColors: u32§flRaster: u32§ulLogPixelsX: u32§ulLogPixelsY: u32§flTextCaps: u32§ulDACRed: u32§ulDACGreen: u32§ulDACBlue: u32§ulAspectX: u32§ulAspectY: u32§ulAspectXY: u32§xStyleStep: i32§yStyleStep: i32§denStyleStep: i32§ptlPhysOffset: POINTL§szlPhysSize: SIZE§ulNumPalReg: u32§ciDevice: COLORINFO§ulDevicePelsDPI: u32§ulPrimaryOrder: u32§ulHTPatternSize: u32§ulHTOutputFormat: u32§flHTFlags: u32§ulVRefresh: u32§ulBltAlignment: u32§ulPanningHorzRes: u32§ulPanningVertRes: u32§xPanningAlignment: u32§yPanningAlignment: u32§cxHTPat: u32§cyHTPat: u32§pHTPatA: *mut u8§pHTPatB: *mut u8§pHTPatC: *mut u8§flShadeBlend: u32§ulPhysicalPixelCharacteristics: u32§ulPhysicalPixelGamma: u32

Trait Implementations§

§

impl Clone for GDIINFO

§

fn clone(&self) -> Self

Returns a copy of the value. Read more
1.0.0 · source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
§

impl Copy for GDIINFO

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.