[−][src]Struct azure_kinect::factory::Factory
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]
self,
debug_message_handler: DebugMessageHandler,
min_level: k4a_log_level_t
) -> Self
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
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]
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,
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, 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.
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>,