pub fn unwrap_option_type(ty: &Type) -> Option<&Type>
If ty is Option<T>, returns Some(&T). Otherwise returns None.
ty
Option<T>
Some(&T)
None