Crate tcl_derive
source ·Expand description
Proc macro for tcl (and tk).
Macros§
- Helps to register rust functions as Tcl commands, or Tk event callbacks.
- Helps to register rust closures as Tcl commands or Tk event callbacks.
Attribute Macros§
- A proc macro attribute for filling the gap between
ObjCmdProc
functions and Rust functions with “normal” input arguments.
Derive Macros§
- Derives
std::from::TryFrom<tcl::Obj>
, based onserde::Deserialize
.