Trait Op

Source
pub trait Op {
    const NAME: &'static str;
    const DECL: OpDecl;
}
Expand description

Trait implemented by all generated ops.

Required Associated Constants§

Source

const NAME: &'static str

Source

const DECL: OpDecl

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl Op for op_close

Source§

const NAME: &'static str = "op_close"

Source§

const DECL: OpDecl

Source§

impl Op for op_print

Source§

const NAME: &'static str = "op_print"

Source§

const DECL: OpDecl

Source§

impl Op for op_resources

Source§

const NAME: &'static str = "op_resources"

Source§

const DECL: OpDecl

Source§

impl Op for op_void_async

Source§

const NAME: &'static str = "op_void_async"

Source§

const DECL: OpDecl

Source§

impl Op for op_void_sync

Source§

const NAME: &'static str = "op_void_sync"

Source§

const DECL: OpDecl