#[repr(i32)]pub enum CalibrationType {
Unknown = -1,
Depth = 0,
Color = 1,
Gyro = 2,
Accel = 3,
}Expand description
Calibration types.
Variants§
Unknown = -1
< Calibration type is unknown
Depth = 0
< Depth sensor
Color = 1
< Color sensor
Gyro = 2
< Gyroscope sensor
Accel = 3
< Accelerometer sensor
Trait Implementations§
Source§impl Clone for CalibrationType
impl Clone for CalibrationType
Source§fn clone(&self) -> CalibrationType
fn clone(&self) -> CalibrationType
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 CalibrationType
impl Debug for CalibrationType
Source§impl From<CalibrationType> for k4a_calibration_type_t
impl From<CalibrationType> for k4a_calibration_type_t
Source§fn from(s: CalibrationType) -> Self
fn from(s: CalibrationType) -> Self
Converts to this type from the input type.
Source§impl PartialEq for CalibrationType
impl PartialEq for CalibrationType
impl Copy for CalibrationType
impl StructuralPartialEq for CalibrationType
Auto Trait Implementations§
impl Freeze for CalibrationType
impl RefUnwindSafe for CalibrationType
impl Send for CalibrationType
impl Sync for CalibrationType
impl Unpin for CalibrationType
impl UnwindSafe for CalibrationType
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