pub enum VideoModeKind {
Text,
Graphics,
}Expand description
A simple descriptor for whether a video mode is in text or graphics mode.
Variants§
Text
Text mode, where each cell is a character or glyph. and the resolution is defined via cell matrix and font size.
Graphics
Graphics mode, where the resolution is specified directly and the graphics are drawn to the screen in indexed color mode.
Trait Implementations§
Source§impl Clone for VideoModeKind
impl Clone for VideoModeKind
Source§fn clone(&self) -> VideoModeKind
fn clone(&self) -> VideoModeKind
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for VideoModeKind
impl Debug for VideoModeKind
Source§impl Hash for VideoModeKind
impl Hash for VideoModeKind
Source§impl PartialEq for VideoModeKind
impl PartialEq for VideoModeKind
impl Copy for VideoModeKind
impl Eq for VideoModeKind
impl StructuralPartialEq for VideoModeKind
Auto Trait Implementations§
impl Freeze for VideoModeKind
impl RefUnwindSafe for VideoModeKind
impl Send for VideoModeKind
impl Sync for VideoModeKind
impl Unpin for VideoModeKind
impl UnwindSafe for VideoModeKind
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