Returns true if the current calling convention is `Default`.
(&self)
| 126 | |
| 127 | /// Returns true if the current calling convention is `Default`. |
| 128 | pub fn is_default(&self) -> bool { |
| 129 | match &self { |
| 130 | CallingConvention::Default => true, |
| 131 | _ => false, |
| 132 | } |
| 133 | } |
| 134 | } |
| 135 | |
| 136 | impl From<CallingConvention> for CallConv { |
no outgoing calls
no test coverage detected