[][src]Function chemfiles::set_warning_callback

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

Use callback for every chemfiles warning. The callback will be passed the warning message.