Gcode.Model.Serialise protocol (gcode v1.0.1)

A protocol which is used to serialise the model into G-code output.

Summary

Types

t()

All the types that implement this protocol.

Types

@type result() ::
  Gcode.Result.t(
    [String.t()],
    {:serialise_error, String.t()}
  )
@type t() :: term()

All the types that implement this protocol.

Functions

Link to this function

serialise(serialisable)

@spec serialise(t()) :: Gcode.Result.t([String.t()])