Struct multiboot::information::ColorInfoRgb
source · #[repr(C)]pub struct ColorInfoRgb {
pub red_field_position: u8,
pub red_mask_size: u8,
pub green_field_position: u8,
pub green_mask_size: u8,
pub blue_field_position: u8,
pub blue_mask_size: u8,
}
Expand description
Information for direct RGB color mode
Fields§
§red_field_position: u8
§red_mask_size: u8
§green_field_position: u8
§green_mask_size: u8
§blue_field_position: u8
§blue_mask_size: u8
Trait Implementations§
source§impl Clone for ColorInfoRgb
impl Clone for ColorInfoRgb
source§fn clone(&self) -> ColorInfoRgb
fn clone(&self) -> ColorInfoRgb
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 more