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§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§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
impl Copy for VBEMemoryModel
impl Eq for VBEMemoryModel
impl StructuralEq for VBEMemoryModel
impl StructuralPartialEq for VBEMemoryModel
Auto Trait Implementations§
impl RefUnwindSafe for VBEMemoryModel
impl Send for VBEMemoryModel
impl Sync for VBEMemoryModel
impl Unpin for VBEMemoryModel
impl UnwindSafe for VBEMemoryModel
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T, U> Into<U> for Twhere
U: From<T>,
impl<T, U> Into<U> for Twhere
U: From<T>,
source§impl<T> TagTrait for Twhere
T: Pointee<Metadata = ()>,
impl<T> TagTrait for Twhere
T: Pointee<Metadata = ()>,
source§fn dst_size(_: &Tag) -> <T as Pointee>::Metadata
fn dst_size(_: &Tag) -> <T as Pointee>::Metadata
Returns the amount of items in the dynamically sized portion of the
DST. Note that this is not the amount of bytes. So if the dynamically
sized portion is 16 bytes in size and each element is 4 bytes big, then
this function must return 4.
source§unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
unsafe fn from_base_tag<'a>(tag: &Tag) -> &'a Self
Creates a reference to a (dynamically sized) tag type in a safe way.
DST tags need to implement a proper
Self::dst_size
implementation. Read more