Struct multiboot2::VBEField
source · #[repr(C, packed(1))]pub struct VBEField {
pub size: u8,
pub position: u8,
}
Expand description
A VBE colour field.
Describes the size and position of some colour capability.
Fields§
§size: u8
The size, in bits, of the color components of a direct color pixel.
position: u8
define the bit position within the direct color pixel or YUV pixel of the least significant bit of the respective color component.
Trait Implementations§
source§impl Ord for VBEField
impl Ord for VBEField
source§impl PartialEq for VBEField
impl PartialEq for VBEField
source§impl PartialOrd for VBEField
impl PartialOrd for VBEField
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 VBEField
impl Eq for VBEField
impl StructuralPartialEq for VBEField
Auto Trait Implementations§
impl Freeze for VBEField
impl RefUnwindSafe for VBEField
impl Send for VBEField
impl Sync for VBEField
impl Unpin for VBEField
impl UnwindSafe for VBEField
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