Vtc.Sources (vtc v0.1.2) View Source

Protocols for source values that can be used to construct a timecode.

Link to this section Summary

Link to this section Types

Specs

frames_result() :: {:ok, integer()} | {:error, Vtc.Timecode.ParseError.t()}

Result type of Vtc.Sources.Frames.frames/2.

Specs

seconds_result() ::
  {:ok, Ratio.t() | integer()} | {:error, Vtc.Timecode.ParseError.t()}

Result type of Vtc.Sources.Seconds.seconds/2.