Skip to main content

SurfaceInstruction

Trait SurfaceInstruction 

Source
pub trait SurfaceInstruction { }
Expand description

Marker for enums whose pattern-derived parser represents instruction syntax.

#[derive(vihaco_parser_derive::Parse)] implements this trait for enums annotated with #[syntax_class(instruction)] or #[syntax_class(instruction, head = "...")].

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§