Trait naia_shared::NaiaKey[][src]

pub trait NaiaKey<Impl = Self>: Eq + PartialEq + Clone + Copy + Display {
    fn from_u16(k: u16) -> Impl;
fn to_u16(&self) -> u16; }
Expand description

Standard Naia Key trait

Required methods

Create new Key from a u16

Convert Key to a u16

Implementors