[][src]Function realsense_sys::rs2_is_sensor_extendable_to

pub unsafe extern "C" fn rs2_is_sensor_extendable_to(
    sensor: *const rs2_sensor,
    extension: rs2_extension,
    error: *mut *mut rs2_error
) -> c_int

Test if the given sensor can be extended to the requested extension \param[in] sensor Realsense sensor \param[in] extension The extension to which the sensor should be tested if it is extendable \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return non-zero value iff the sensor can be extended to the given extension