[][src]Macro actyxos_sdk::fish_name

macro_rules! fish_name {
    ($lit:tt) => { ... };
}

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:

This example deliberately fails to compile
use actyxos_sdk::{fish_name, event::FishName};
let fish_name: FishName = fish_name!("");