pub struct GDC(/* private fields */);
Available on crate features
kernel
and gdi
only.Expand description
HDC::GetDeviceCaps
index
(i32
).
Originally has no prefix.
Implementations§
source§impl GDC
impl GDC
sourcepub const unsafe fn from_raw(v: i32) -> Self
pub const unsafe fn from_raw(v: i32) -> Self
Constructs a new object by wrapping the given integer value.
§Safety
Be sure the given value is meaningful for the actual type.
sourcepub const fn raw(&self) -> i32
pub const fn raw(&self) -> i32
Returns the primitive integer underlying value.
This method is similar to Into
, but it
is const
, therefore it can be used in
const contexts.
source§impl GDC
impl GDC
pub const DRIVERVERSION: Self = _
pub const TECHNOLOGY: Self = _
pub const HORZSIZE: Self = _
pub const VERTSIZE: Self = _
pub const HORZRES: Self = _
pub const VERTRES: Self = _
pub const BITSPIXEL: Self = _
pub const PLANES: Self = _
pub const NUMBRUSHES: Self = _
pub const NUMPENS: Self = _
pub const NUMMARKERS: Self = _
pub const NUMFONTS: Self = _
pub const NUMCOLORS: Self = _
pub const PDEVICESIZE: Self = _
pub const CURVECAPS: Self = _
pub const LINECAPS: Self = _
pub const POLYGONALCAPS: Self = _
pub const TEXTCAPS: Self = _
pub const CLIPCAPS: Self = _
pub const RASTERCAPS: Self = _
pub const ASPECTX: Self = _
pub const ASPECTY: Self = _
pub const ASPECTXY: Self = _
pub const LOGPIXELSX: Self = _
pub const LOGPIXELSY: Self = _
pub const SIZEPALETTE: Self = _
pub const NUMRESERVED: Self = _
pub const COLORRES: Self = _
pub const PHYSICALWIDTH: Self = _
pub const PHYSICALHEIGHT: Self = _
pub const PHYSICALOFFSETX: Self = _
pub const PHYSICALOFFSETY: Self = _
pub const SCALINGFACTORX: Self = _
pub const SCALINGFACTORY: Self = _
pub const VREFRESH: Self = _
pub const DESKTOPVERTRES: Self = _
pub const DESKTOPHORZRES: Self = _
pub const BLTALIGNMENT: Self = _
pub const SHADEBLENDCAPS: Self = _
pub const COLORMGMTCAPS: Self = _
Trait Implementations§
source§impl IntUnderlying for GDC
impl IntUnderlying for GDC
impl Copy for GDC
impl Eq for GDC
impl NativeConst for GDC
impl Send for GDC
impl StructuralPartialEq for GDC
Auto Trait Implementations§
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