[][src]Enum kinect::ImageFormat

pub enum ImageFormat {
    ColorMjpg,
    ColorNv12,
    ColorYuy2,
    ColorBgra32,
    Depth16,
    Ir16,
    Custom8,
    Custom16,
    Custom,
    UnknownFormatError,
}

Variants

ColorMjpg
ColorNv12
ColorYuy2
ColorBgra32
Depth16

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.

Ir16
Custom8
Custom16
Custom
UnknownFormatError

Implementations

impl ImageFormat[src]

Trait Implementations

impl Clone for ImageFormat[src]

impl Copy for ImageFormat[src]

impl Debug for ImageFormat[src]

impl From<u32> for ImageFormat[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.