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