pub struct DeviceConfiguration(pub k4a_device_configuration_t);Expand description
Copied from k4a-sys
Tuple Fields§
§0: k4a_device_configuration_tImplementations§
Source§impl DeviceConfiguration
Copied from k4a-sys
impl DeviceConfiguration
Copied from k4a-sys
pub fn new() -> Self
Sourcepub fn init_disable_all() -> Self
pub fn init_disable_all() -> Self
Returns a default configuration with everything disabled, mimicking the constant K4A_DEVICE_CONFIG_INIT_DISABLE_ALL.
K4A docs: “Initial configuration setting for disabling all sensors.” “ Use this setting to initialize a k4a_device_configuration_t to a disabled state.“
Auto Trait Implementations§
impl Freeze for DeviceConfiguration
impl RefUnwindSafe for DeviceConfiguration
impl Send for DeviceConfiguration
impl Sync for DeviceConfiguration
impl Unpin for DeviceConfiguration
impl UnwindSafe for DeviceConfiguration
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