Trait colain::clitype::CLIType[][src]

pub trait CLIType where
    Self::Meta: Debug + Copy,
    Self::Coord: Debug + Copy
{ type Meta; type Coord; }

A type of CLI file

Associated Types

type Meta[src]

Primitive type used to store metadata such as id, direction, etc.

The CLI will be of either type ShortCLI or LongCLI. See the documentation for these items to know what the primitive will be.

type Coord[src]

Primitive type used to store coordinates

The CLI will be of either type ShortCLI or LongCLI. See the documentation for these items to know what the primitive will be.

Loading content...

Implementors

impl CLIType for LongCLI[src]

type Meta = i32

type Coord = f32

impl CLIType for ShortCLI[src]

type Meta = u16

type Coord = u16

Loading content...