Struct multiboot2::FramebufferColor
source · [−]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
sourceimpl Clone for FramebufferColor
impl Clone for FramebufferColor
sourcefn clone(&self) -> FramebufferColor
fn clone(&self) -> FramebufferColor
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for FramebufferColor
impl Debug for FramebufferColor
sourceimpl PartialEq<FramebufferColor> for FramebufferColor
impl PartialEq<FramebufferColor> for FramebufferColor
sourcefn 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 ==
. Read more
sourcefn ne(&self, other: &FramebufferColor) -> bool
fn ne(&self, other: &FramebufferColor) -> bool
This method tests for !=
.
impl Copy for FramebufferColor
impl Eq for FramebufferColor
impl StructuralEq for FramebufferColor
impl StructuralPartialEq for FramebufferColor
Auto Trait Implementations
impl RefUnwindSafe for FramebufferColor
impl Send for FramebufferColor
impl Sync for FramebufferColor
impl Unpin for FramebufferColor
impl UnwindSafe for FramebufferColor
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more