Vtc.Source (vtc v0.1.3) 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.Source.Frames.frames/2.

Specs

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

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