MCPcopy Create free account
hub / github.com/bendudson/EuraliOS / as_u8

Method as_u8

kernel/src/interrupts.rs:303–305  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

301
302impl InterruptIndex {
303 pub fn as_u8(self) -> u8 {
304 self as u8
305 }
306
307 pub fn as_usize(self) -> usize {
308 usize::from(self.as_u8())

Callers 4

timer_handlerFunction · 0.80
as_usizeMethod · 0.80
await_interruptFunction · 0.80
timer_handlerFunction · 0.80

Calls

no outgoing calls

Tested by 1

timer_handlerFunction · 0.64