Struct multiboot2::FramebufferColor
source · #[repr(C)]pub struct FramebufferColor {
pub red: u8,
pub green: u8,
pub blue: u8,
}
Expand description
A framebuffer color descriptor in the palette.
Fields§
§red: u8
The Red component of the color.
green: u8
The Green component of the color.
blue: u8
The Blue component of the color.
Trait Implementations§
source§impl Clone for FramebufferColor
impl Clone for FramebufferColor
source§fn clone(&self) -> FramebufferColor
fn clone(&self) -> FramebufferColor
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 FramebufferColor
impl Debug for FramebufferColor
source§impl Hash for FramebufferColor
impl Hash for FramebufferColor
source§impl Ord for FramebufferColor
impl Ord for FramebufferColor
source§impl PartialEq for FramebufferColor
impl PartialEq for FramebufferColor
source§fn eq(&self, other: &FramebufferColor) -> bool
fn eq(&self, other: &FramebufferColor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for FramebufferColor
impl PartialOrd for FramebufferColor
impl Copy for FramebufferColor
impl Eq for FramebufferColor
impl StructuralPartialEq for FramebufferColor
Auto Trait Implementations§
impl Freeze for FramebufferColor
impl RefUnwindSafe for FramebufferColor
impl Send for FramebufferColor
impl Sync for FramebufferColor
impl Unpin for FramebufferColor
impl UnwindSafe for FramebufferColor
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