[][src]Function realsense_sys::rs2_get_frame_sensor

pub unsafe extern "C" fn rs2_get_frame_sensor(
    frame: *const rs2_frame,
    error: *mut *mut rs2_error
) -> *mut rs2_sensor

retrieve frame parent sensor from frame handle \param[in] frame handle returned from a callback \param[out] error if non-null, receives any error that occurs during this call, otherwise, errors are ignored \return the parent sensor of the frame