Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/arcjet/gravity
/ enum_input
Method
enum_input
examples/instructions/src/lib.rs:42–47 ·
view source on GitHub ↗
(val: EnumValues)
Source
from the content-addressed store, hash-verified
40
val
41
}
42
fn enum_input(val: EnumValues) {
43
assert!(matches!(
44
val,
45
EnumValues::One | EnumValues::Two | EnumValues::Three
46
));
47
}
48
}
Callers
nothing calls this directly
Calls
no outgoing calls
Tested by
no test coverage detected