#[non_exhaustive]pub enum VgaMode {
Text80x25,
Graphics640x480_16,
Graphics800x600_16,
}
Expand description
All VGA modes supported by the x86_q35 chip crate.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
impl Copy for VgaMode
impl Eq for VgaMode
impl StructuralPartialEq for VgaMode
Auto Trait Implementations§
impl Freeze for VgaMode
impl RefUnwindSafe for VgaMode
impl Send for VgaMode
impl Sync for VgaMode
impl Unpin for VgaMode
impl UnwindSafe for VgaMode
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