MCPcopy Create free account
hub / github.com/bytecodealliance/component-docs / Op

Enum Op

component-model/examples/tutorial/command/src/bindings.rs:17–19  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

15 #[repr(u8)]
16 #[derive(Clone, Copy, Eq, PartialEq)]
17 pub enum Op {
18 Add,
19 }
20 impl ::core::fmt::Debug for Op {
21 fn fmt(&self, f: &mut ::core::fmt::Formatter<'_>) -> ::core::fmt::Result {
22 match self {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected