#[repr(C)]pub struct DisplayInfo {Show 14 fields
pub Header: QueryHeader,
pub NotAvailable: UWORD,
pub PropertyFlags: ULONG,
pub Resolution: Point,
pub PixelSpeed: UWORD,
pub NumStdSprites: UWORD,
pub PaletteRange: UWORD,
pub SpriteResolution: Point,
pub pad: [UBYTE; 4],
pub RedBits: UBYTE,
pub GreenBits: UBYTE,
pub BlueBits: UBYTE,
pub pad2: [UBYTE; 5],
pub reserved: [ULONG; 2],
}Fields§
§Header: QueryHeader§NotAvailable: UWORD§PropertyFlags: ULONG§Resolution: Point§PixelSpeed: UWORD§NumStdSprites: UWORD§PaletteRange: UWORD§SpriteResolution: Point§pad: [UBYTE; 4]§RedBits: UBYTE§GreenBits: UBYTE§BlueBits: UBYTE§pad2: [UBYTE; 5]§reserved: [ULONG; 2]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 (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
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