pub struct PixelDepth {
pub display_depth: u8,
pub pixels_per_byte: u8,
pub region_overhead: u8,
}Expand description
One pixel-depth entry in a graphics-characteristics display reply (Table 35).
Fields§
§display_depth: u83-bit display_depth (coded as region_level_of_compatibility in [9]).
pixels_per_byte: u83-bit pixels_per_byte (0 = 8-bit-deep display special case).
region_overhead: u88-bit region_overhead (×16 = pixel reduction per added region).
Trait Implementations§
Source§impl Clone for PixelDepth
impl Clone for PixelDepth
Source§fn clone(&self) -> PixelDepth
fn clone(&self) -> PixelDepth
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PixelDepth
Source§impl Debug for PixelDepth
impl Debug for PixelDepth
impl Eq for PixelDepth
Source§impl PartialEq for PixelDepth
impl PartialEq for PixelDepth
Source§fn eq(&self, other: &PixelDepth) -> bool
fn eq(&self, other: &PixelDepth) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for PixelDepth
impl Serialize for PixelDepth
impl StructuralPartialEq for PixelDepth
Auto Trait Implementations§
impl Freeze for PixelDepth
impl RefUnwindSafe for PixelDepth
impl Send for PixelDepth
impl Sync for PixelDepth
impl Unpin for PixelDepth
impl UnsafeUnpin for PixelDepth
impl UnwindSafe for PixelDepth
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