pub struct ContrastValue {
pub max: u16,
pub val: u16,
}
Fields§
§max: u16
§val: u16
Implementations§
Trait Implementations§
Source§impl Clone for ContrastValue
impl Clone for ContrastValue
Source§fn clone(&self) -> ContrastValue
fn clone(&self) -> ContrastValue
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 From<ContrastValue> for u32
impl From<ContrastValue> for u32
Source§fn from(value: ContrastValue) -> Self
fn from(value: ContrastValue) -> Self
Converts to this type from the input type.
Source§impl From<u32> for ContrastValue
impl From<u32> for ContrastValue
Source§impl VcpValue for ContrastValue
impl VcpValue for ContrastValue
impl Copy for ContrastValue
Auto Trait Implementations§
impl Freeze for ContrastValue
impl RefUnwindSafe for ContrastValue
impl Send for ContrastValue
impl Sync for ContrastValue
impl Unpin for ContrastValue
impl UnwindSafe for ContrastValue
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