#[repr(C)]
pub enum vid_display_mode_t {
Show 13 variants
DM_INVALID = 0,
DM_320x240_VGA = 1,
DM_320x240_NTSC = 2,
DM_640x480_VGA = 3,
DM_640x480_NTSC_IL = 4,
DM_640x480_PAL_IL = 5,
DM_256x256_PAL_IL = 6,
DM_768x480_NTSC_IL = 7,
DM_768x576_PAL_IL = 8,
DM_768x480_PAL_IL = 9,
DM_320x240_PAL = 10,
DM_SENTINEL = 11,
DM_MODE_COUNT = 12,
}
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.