[][src]Function realsense_sys::rs2_device_list_contains

pub unsafe extern "C" fn rs2_device_list_contains(
    info_list: *const rs2_device_list,
    device: *const rs2_device,
    error: *mut *mut rs2_error
) -> c_int

Checks if a specific device is contained inside a device list. \param[in] info_list The list of devices to check in \param[in] device RealSense device to check for \param[out] error If non-null, receives any error that occurs during this call, otherwise, errors are ignored \return True if the device is in the list and false otherwise