MCPcopy Create free account
hub / github.com/hashintel/hash / alias

Method alias

libs/darwin-kperf/src/database.rs:259–262  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

257 /// Human-readable alias, e.g. `"Instructions"`, `"Cycles"`.
258 #[must_use]
259 pub const fn alias(&self) -> Option<&'db str> {
260 // SAFETY: null indicates absence; otherwise same validity as `name`.
261 unsafe { as_opt_str(self.event.alias) }
262 }
263
264 /// Fallback event name for fixed counters.
265 #[must_use]

Calls 1

as_opt_strFunction · 0.85