Macro actyxos_sdk::semantics [−][src]
macro_rules! semantics {
($lit : tt) => { ... };
}
Expand description
Macro for constructing a Semantics
literal.
This is how it works:
use actyxos_sdk::{semantics, event::Semantics};
let semantics: Semantics = semantics!("abc");
This does not compile:
ⓘ
use actyxos_sdk::{semantics, event::Semantics};
let semantics: Semantics = semantics!("");