Module colain::clitype[][src]

A CLIType must be specified when creating a CLI object.

The CLI spec dictates that two different binary formats to express geometry data:

  • Short: coordinates are stored as u16
  • Long: coordinates are stored as f32

While it is not explicitly required that a file consists of only one type of geometry, this library requires that the entire file consists of just one variation. If the variation that was specified does not match the file an Err containing the signal Error::TypeMismatch will be returned.

Structs

LongCLI

Configures the parser to use the long version of the CLI spec.

ShortCLI

Configures the parser to use the short version of the CLI spec.

Traits

CLIType

A type of CLI file