pub struct ControlRange<T> {
pub min: T,
pub max: T,
pub res: T,
pub def: T,
}Expand description
Range and default value for a numeric UVC Processing Unit or Camera Terminal control.
Fields§
§min: TMinimum allowed value (GET_MIN).
max: TMaximum allowed value (GET_MAX).
res: TStep resolution (GET_RES).
def: TDefault value (GET_DEF and initial GET_CUR).
Implementations§
Source§impl<T> ControlRange<T>
impl<T> ControlRange<T>
Trait Implementations§
Source§impl<T: Clone> Clone for ControlRange<T>
impl<T: Clone> Clone for ControlRange<T>
impl<T: Copy> Copy for ControlRange<T>
Source§impl<T: Debug> Debug for ControlRange<T>
impl<T: Debug> Debug for ControlRange<T>
impl<T: Eq> Eq for ControlRange<T>
Source§impl<T> Format for ControlRange<T>where
T: Format,
impl<T> Format for ControlRange<T>where
T: Format,
Source§impl<T: PartialEq> PartialEq for ControlRange<T>
impl<T: PartialEq> PartialEq for ControlRange<T>
impl<T: PartialEq> StructuralPartialEq for ControlRange<T>
Auto Trait Implementations§
impl<T> Forget for ControlRange<T>
impl<T> Freeze for ControlRange<T>where
T: Freeze,
impl<T> Move for ControlRange<T>
impl<T> RefUnwindSafe for ControlRange<T>where
T: RefUnwindSafe,
impl<T> Send for ControlRange<T>where
T: Send,
impl<T> Sync for ControlRange<T>where
T: Sync,
impl<T> Unpin for ControlRange<T>where
T: Unpin,
impl<T> UnsafeUnpin for ControlRange<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for ControlRange<T>where
T: UnwindSafe,
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