pub enum DeviceType {
Unknown = -1,
SLMonocularCamera = 0,
SLBinocularCamera = 1,
TOFCamera = 2,
}Expand description
Device type
Variants§
Unknown = -1
Unknown device type
SLMonocularCamera = 0
Monocular structured light camera
SLBinocularCamera = 1
Binocular structured light camera
TOFCamera = 2
Time-of-Flight camera
Trait Implementations§
Source§impl Clone for OBDeviceType
impl Clone for OBDeviceType
Source§fn clone(&self) -> OBDeviceType
fn clone(&self) -> OBDeviceType
Returns a duplicate 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 Debug for OBDeviceType
impl Debug for OBDeviceType
Source§impl From<i32> for OBDeviceType
impl From<i32> for OBDeviceType
Source§impl Hash for OBDeviceType
impl Hash for OBDeviceType
Source§impl PartialEq for OBDeviceType
impl PartialEq for OBDeviceType
impl Copy for OBDeviceType
impl Eq for OBDeviceType
impl StructuralPartialEq for OBDeviceType
Auto Trait Implementations§
impl Freeze for OBDeviceType
impl RefUnwindSafe for OBDeviceType
impl Send for OBDeviceType
impl Sync for OBDeviceType
impl Unpin for OBDeviceType
impl UnwindSafe for OBDeviceType
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