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

Method id

libs/@local/hashql/core/src/span/mod.rs:322–325  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

320
321 #[expect(unsafe_code)]
322 pub(crate) const fn id(self) -> LocalSpanId {
323 // SAFETY: The mask ensures that the value does not exceed the maximum span index.
324 unsafe { LocalSpanId::new_unchecked(self.0 & Self::ID_MASK) }
325 }
326}
327
328impl Display for SpanId {

Callers 5

updateMethod · 0.45
get_entryMethod · 0.45
ancestorsMethod · 0.45
filterMethod · 0.45
graph_to_mermaidFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected