Enum multiboot2::VBEMemoryModel
source · #[repr(u8)]pub enum VBEMemoryModel {
Text = 0,
CGAGraphics = 1,
HerculesGraphics = 2,
Planar = 3,
PackedPixel = 4,
Unchained = 5,
DirectColor = 6,
YUV = 7,
}
Expand description
The MemoryModel field specifies the general type of memory organization used in modes.
Variants§
Text = 0
CGAGraphics = 1
HerculesGraphics = 2
Planar = 3
PackedPixel = 4
Unchained = 5
DirectColor = 6
YUV = 7
Trait Implementations§
source§impl Clone for VBEMemoryModel
impl Clone for VBEMemoryModel
source§fn clone(&self) -> VBEMemoryModel
fn clone(&self) -> VBEMemoryModel
Returns a copy 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 VBEMemoryModel
impl Debug for VBEMemoryModel
source§impl Hash for VBEMemoryModel
impl Hash for VBEMemoryModel
source§impl Ord for VBEMemoryModel
impl Ord for VBEMemoryModel
source§fn cmp(&self, other: &VBEMemoryModel) -> Ordering
fn cmp(&self, other: &VBEMemoryModel) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq for VBEMemoryModel
impl PartialEq for VBEMemoryModel
source§fn eq(&self, other: &VBEMemoryModel) -> bool
fn eq(&self, other: &VBEMemoryModel) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for VBEMemoryModel
impl PartialOrd for VBEMemoryModel
source§fn partial_cmp(&self, other: &VBEMemoryModel) -> Option<Ordering>
fn partial_cmp(&self, other: &VBEMemoryModel) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for VBEMemoryModel
impl Eq for VBEMemoryModel
impl StructuralPartialEq for VBEMemoryModel
Auto Trait Implementations§
impl Freeze for VBEMemoryModel
impl RefUnwindSafe for VBEMemoryModel
impl Send for VBEMemoryModel
impl Sync for VBEMemoryModel
impl Unpin for VBEMemoryModel
impl UnwindSafe for VBEMemoryModel
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