Macro the_key::define_key_part[][src]

macro_rules! define_key_part {
    ($name:ident, $bytes:expr) => { ... };
}

Defines a key part. Each key part is a uniq struct whose implement trait the_key::KeyPart

Example

use the_key::*;

define_key_part!(KeyPartName, "key_part_bytes".as_bytes());