pub struct CameraState {
pub controls: Vec<(CameraControl, ControlRange)>,
pub autos: Vec<(AutoToggle, AutoState)>,
}Expand description
Everything the controls UI needs, read in a single device-open: each supported control’s range and each supported auto toggle’s state.
Fields§
§controls: Vec<(CameraControl, ControlRange)>§autos: Vec<(AutoToggle, AutoState)>Trait Implementations§
Source§impl Clone for CameraState
impl Clone for CameraState
Source§impl Debug for CameraState
impl Debug for CameraState
Auto Trait Implementations§
impl Freeze for CameraState
impl RefUnwindSafe for CameraState
impl Send for CameraState
impl Sync for CameraState
impl Unpin for CameraState
impl UnsafeUnpin for CameraState
impl UnwindSafe for CameraState
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