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 PartialOrd for VBEField
impl PartialOrd for VBEField
impl Copy for VBEField
impl Eq for VBEField
impl StructuralEq for VBEField
impl StructuralPartialEq for VBEField
Auto Trait Implementations§
impl RefUnwindSafe for VBEField
impl Send for VBEField
impl Sync for VBEField
impl Unpin for VBEField
impl UnwindSafe for VBEField
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