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 as_mut(&mut self) -> &mut i32
pub const unsafe fn as_mut(&mut self) -> &mut i32
Returns a mutable reference to the underlying raw value.
§Safety
Be sure the integer being set is meaningful for the actual type.
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 Ord for GDC
impl Ord for GDC
Source§impl PartialOrd for GDC
impl PartialOrd for GDC
impl Copy for GDC
impl Eq for GDC
impl StructuralPartialEq for GDC
Auto Trait Implementations§
impl Freeze for GDC
impl RefUnwindSafe for GDC
impl Send for GDC
impl Sync for GDC
impl Unpin for GDC
impl UnwindSafe for GDC
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