pub fn set_warning_callback<F>(callback: F)
where F: WarningCallback + 'static,
Expand description

Use callback for every chemfiles warning. The callback will be passed the warning message. This will drop any previous warning callback.