[−][src]Enum kinect::ImageFormat
Variants
Depth image type DEPTH16. Each pixel of DEPTH16 data is two bytes of little endian unsigned depth data. The unit of the data is in millimeters from the origin of the camera. Stride indicates the length of each line in bytes and should be used to determine the start location of each line of the image in memory.
Implementations
impl ImageFormat
[src]
pub fn to_k4a(&self) -> k4a_image_format_t
[src]
Trait Implementations
impl Clone for ImageFormat
[src]
pub fn clone(&self) -> ImageFormat
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ImageFormat
[src]
impl Debug for ImageFormat
[src]
impl From<u32> for ImageFormat
[src]
pub fn from(format: k4a_image_format_t) -> Self
[src]
Auto Trait Implementations
impl RefUnwindSafe for ImageFormat
[src]
impl Send for ImageFormat
[src]
impl Sync for ImageFormat
[src]
impl Unpin for ImageFormat
[src]
impl UnwindSafe for ImageFormat
[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,