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
sourceimpl Clone for HighContrastConfig
impl Clone for HighContrastConfig
sourcefn clone(&self) -> HighContrastConfig
fn clone(&self) -> HighContrastConfig
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for HighContrastConfig
impl Debug for HighContrastConfig
sourceimpl Default for HighContrastConfig
impl Default for HighContrastConfig
sourcefn default() -> HighContrastConfig
fn default() -> HighContrastConfig
Returns the “default value” for a type. Read more
sourceimpl FromByteSlice for HighContrastConfig
impl FromByteSlice for HighContrastConfig
sourcefn 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.
sourcefn from_le_bytes(bytes: &[u8]) -> HighContrastConfig
fn from_le_bytes(bytes: &[u8]) -> HighContrastConfig
Deserialize the implementing type from a byte slice.
sourceimpl Hash for HighContrastConfig
impl Hash for HighContrastConfig
sourceimpl PartialEq<HighContrastConfig> for HighContrastConfig
impl PartialEq<HighContrastConfig> for HighContrastConfig
sourcefn eq(&self, other: &HighContrastConfig) -> bool
fn eq(&self, other: &HighContrastConfig) -> bool
impl Copy for HighContrastConfig
impl Eq for HighContrastConfig
impl StructuralEq 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
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more