pub struct HighContrastConfig {
pub region_of_interest: [u8; 4],
pub dampening_factor: u16,
pub clip_limit: [u16; 2],
pub empty_counts: u16,
}
Fields§
§region_of_interest: [u8; 4]
§dampening_factor: u16
§clip_limit: [u16; 2]
§empty_counts: u16
Trait Implementations§
source§impl Clone for HighContrastConfig
impl Clone for HighContrastConfig
source§fn clone(&self) -> HighContrastConfig
fn clone(&self) -> HighContrastConfig
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 HighContrastConfig
impl Debug for HighContrastConfig
source§impl Default for HighContrastConfig
impl Default for HighContrastConfig
source§fn default() -> HighContrastConfig
fn default() -> HighContrastConfig
Returns the “default value” for a type. Read more
source§impl FromByteSlice for HighContrastConfig
impl FromByteSlice for HighContrastConfig
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]) -> HighContrastConfig
fn from_le_byte_slice(bytes: &[u8]) -> HighContrastConfig
Deserialize the implementing type from a byte slice.
source§impl Hash for HighContrastConfig
impl Hash for HighContrastConfig
source§impl PartialEq for HighContrastConfig
impl PartialEq for HighContrastConfig
source§fn eq(&self, other: &HighContrastConfig) -> bool
fn eq(&self, other: &HighContrastConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for HighContrastConfig
impl Eq for HighContrastConfig
impl StructuralPartialEq for HighContrastConfig
Auto Trait Implementations§
impl RefUnwindSafe for HighContrastConfig
impl Send for HighContrastConfig
impl Sync for HighContrastConfig
impl Unpin for HighContrastConfig
impl UnwindSafe for HighContrastConfig
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