pub struct DeviceSnapshot {
pub generation: u64,
pub devices: Vec<DeviceInfo>,
pub error: Option<Arc<CameraError>>,
}Expand description
Values for DeviceSnapshot.
Fields§
§generation: u64The generation value.
devices: Vec<DeviceInfo>The devices value.
error: Option<Arc<CameraError>>The error value.
Trait Implementations§
Source§impl Clone for DeviceSnapshot
impl Clone for DeviceSnapshot
Source§fn clone(&self) -> DeviceSnapshot
fn clone(&self) -> DeviceSnapshot
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for DeviceSnapshot
impl !UnwindSafe for DeviceSnapshot
impl Freeze for DeviceSnapshot
impl Send for DeviceSnapshot
impl Sync for DeviceSnapshot
impl Unpin for DeviceSnapshot
impl UnsafeUnpin for DeviceSnapshot
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