Test whether this linkage will have a definition that cannot be preempted.
(self)
| 192 | |
| 193 | /// Test whether this linkage will have a definition that cannot be preempted. |
| 194 | pub fn is_final(self) -> bool { |
| 195 | match self { |
| 196 | Self::Import | Self::Preemptible => false, |
| 197 | Self::Local | Self::Hidden | Self::Export => true, |
| 198 | } |
| 199 | } |
| 200 | } |
| 201 | |
| 202 | /// A declared name may refer to either a function or data declaration |
no outgoing calls
no test coverage detected