logo

Macro actyx_sdk::semantics[][src]

macro_rules! semantics {
    ($lit : tt) => { ... };
}
Expand description

Macro for constructing a Semantics literal.

This is how it works:

use actyx_sdk::{semantics, legacy::Semantics};
let semantics: Semantics = semantics!("abc");

This does not compile:

use actyx_sdk::{semantics, legacy::Semantics};
let semantics: Semantics = semantics!("");