[][src]Struct azure_kinect::factory::Factory

pub struct Factory { /* fields omitted */ }

Implementations

impl Factory[src]

pub fn new() -> Result<Factory, Error>[src]

pub fn with_library_directory(lib_dir: &str) -> Result<Factory, Error>[src]

pub fn set_debug_message_handler(
    self,
    debug_message_handler: DebugMessageHandler,
    min_level: k4a_log_level_t
) -> Self
[src]

Sets and clears the callback function to receive debug messages from the Azure Kinect device.

pub fn reset_debug_message_handler(self) -> Self[src]

Clears the callback function to receive debug messages from the Azure Kinect device.

pub fn device_get_installed_count(&self) -> u32[src]

Gets the number of connected devices

pub fn device_open(&self, index: u32) -> Result<Device, Error>[src]

Open a k4a device.

Trait Implementations

impl Drop for Factory[src]

Auto Trait Implementations

impl !RefUnwindSafe for Factory

impl !Send for Factory

impl !Sync for Factory

impl Unpin for Factory

impl !UnwindSafe for Factory

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, 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.