Struct multiboot2::FramebufferField
source · #[repr(C)]pub struct FramebufferField {
pub position: u8,
pub size: u8,
}
Expand description
An RGB color type field.
Fields§
§position: u8
Color field position.
size: u8
Color mask size.
Trait Implementations§
source§impl Clone for FramebufferField
impl Clone for FramebufferField
source§fn clone(&self) -> FramebufferField
fn clone(&self) -> FramebufferField
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 FramebufferField
impl Debug for FramebufferField
source§impl Hash for FramebufferField
impl Hash for FramebufferField
source§impl Ord for FramebufferField
impl Ord for FramebufferField
source§fn cmp(&self, other: &FramebufferField) -> Ordering
fn cmp(&self, other: &FramebufferField) -> 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 FramebufferField
impl PartialEq for FramebufferField
source§fn eq(&self, other: &FramebufferField) -> bool
fn eq(&self, other: &FramebufferField) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FramebufferField
impl PartialOrd for FramebufferField
source§fn partial_cmp(&self, other: &FramebufferField) -> Option<Ordering>
fn partial_cmp(&self, other: &FramebufferField) -> 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 FramebufferField
impl Eq for FramebufferField
impl StructuralPartialEq for FramebufferField
Auto Trait Implementations§
impl Freeze for FramebufferField
impl RefUnwindSafe for FramebufferField
impl Send for FramebufferField
impl Sync for FramebufferField
impl Unpin for FramebufferField
impl UnwindSafe for FramebufferField
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