[−][src]Function license::from_id_exception
pub fn from_id_exception(id: &str) -> Option<&'static dyn LicenseException>
Returns an exception based on the provided id.
Examples
let gcc = license::from_id_exception("GCC-exception-3.1").unwrap(); assert_eq!(gcc.name(), "GCC Runtime Library exception 3.1");