pub struct ControlRange {
pub min: i32,
pub max: i32,
pub default: i32,
pub current: i32,
}Expand description
The device’s reported range and current value for a control.
Fields§
§min: i32§max: i32§default: i32§current: i32Trait Implementations§
Source§impl Clone for ControlRange
impl Clone for ControlRange
Source§fn clone(&self) -> ControlRange
fn clone(&self) -> ControlRange
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlRange
Source§impl Debug for ControlRange
impl Debug for ControlRange
impl Eq for ControlRange
Source§impl PartialEq for ControlRange
impl PartialEq for ControlRange
impl StructuralPartialEq for ControlRange
Auto Trait Implementations§
impl Freeze for ControlRange
impl RefUnwindSafe for ControlRange
impl Send for ControlRange
impl Sync for ControlRange
impl Unpin for ControlRange
impl UnsafeUnpin for ControlRange
impl UnwindSafe for ControlRange
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