#[repr(C)]
pub struct ModeInfo { /* fields omitted */ }
Expand description
Information about a graphics output mode.
Returns the (horizontal, vertical) resolution.
On desktop monitors, this usually means (width, height).
Returns the format of the frame buffer.
Returns the bitmask of the custom pixel format, if available.
Returns the number of pixels per scanline.
Due to performance reasons, the stride might not be equal to the width,
instead the stride might be bigger for better alignment.
Performs copy-assignment from source
. Read more
Formats the value using the given formatter. Read more
impl<T> Any for T where
T: 'static + ?Sized,
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
impl<T, U> Into<U> for T where
U: From<T>,
The type returned in the event of a conversion error.
The type returned in the event of a conversion error.