pub struct ColorCalibration {
pub red: u8,
pub green: u8,
pub blue: u8,
}
Fields§
§red: u8
§green: u8
§blue: u8
Trait Implementations§
source§impl Clone for ColorCalibration
impl Clone for ColorCalibration
source§fn clone(&self) -> ColorCalibration
fn clone(&self) -> ColorCalibration
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 ColorCalibration
impl Debug for ColorCalibration
source§impl Default for ColorCalibration
impl Default for ColorCalibration
source§fn default() -> ColorCalibration
fn default() -> ColorCalibration
Returns the “default value” for a type. Read more
source§impl FromByteSlice for ColorCalibration
impl FromByteSlice for ColorCalibration
source§fn bytes_expected() -> usize
fn bytes_expected() -> usize
Returns how many bytes are expected to deserialize a instance of the implementing type. Currently this method is only used for strings.
source§fn from_le_byte_slice(bytes: &[u8]) -> ColorCalibration
fn from_le_byte_slice(bytes: &[u8]) -> ColorCalibration
Deserialize the implementing type from a byte slice.
source§impl Hash for ColorCalibration
impl Hash for ColorCalibration
source§impl PartialEq for ColorCalibration
impl PartialEq for ColorCalibration
source§fn eq(&self, other: &ColorCalibration) -> bool
fn eq(&self, other: &ColorCalibration) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for ColorCalibration
impl Eq for ColorCalibration
impl StructuralPartialEq for ColorCalibration
Auto Trait Implementations§
impl RefUnwindSafe for ColorCalibration
impl Send for ColorCalibration
impl Sync for ColorCalibration
impl Unpin for ColorCalibration
impl UnwindSafe for ColorCalibration
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