#[repr(C)]
pub struct vid_mode_t {Show 17 fields
pub generic: u16,
pub width: u16,
pub height: u16,
pub flags: u32,
pub cable_type: i16,
pub pm: vid_pixel_mode_t,
pub scanlines: u16,
pub clocks: u16,
pub bitmapx: u16,
pub bitmapy: u16,
pub borderx1: u16,
pub borderx2: u16,
pub bordery1: u16,
pub bordery2: u16,
pub fb_curr: u16,
pub fb_count: u16,
pub fb_size: c_size_t,
}
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self)
.
That is, this conversion is whatever the implementation of
[From]<T> for U
chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.