Struct linuxfb::PixelLayout
source · pub struct PixelLayout {
pub red: PixelLayoutChannel,
pub green: PixelLayoutChannel,
pub blue: PixelLayoutChannel,
pub alpha: PixelLayoutChannel,
}
Fields§
§red: PixelLayoutChannel
§green: PixelLayoutChannel
§blue: PixelLayoutChannel
§alpha: PixelLayoutChannel
Trait Implementations§
source§impl Clone for PixelLayout
impl Clone for PixelLayout
source§fn clone(&self) -> PixelLayout
fn clone(&self) -> PixelLayout
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 PixelLayout
impl Debug for PixelLayout
source§impl PartialEq<PixelLayout> for PixelLayout
impl PartialEq<PixelLayout> for PixelLayout
source§fn eq(&self, other: &PixelLayout) -> bool
fn eq(&self, other: &PixelLayout) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for PixelLayout
Auto Trait Implementations§
impl RefUnwindSafe for PixelLayout
impl Send for PixelLayout
impl Sync for PixelLayout
impl Unpin for PixelLayout
impl UnwindSafe for PixelLayout
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