Vtc.Source (vtc v0.2.2) View Source

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

Link to this section Summary

Types

Result type of Source.Seconds.seconds/2.

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, Vtc.Utils.Rational.t()} | {:error, Vtc.Timecode.ParseError.t()}

Result type of Source.Seconds.seconds/2.

Specs

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

Result type of Vtc.Source.PremiereTicks.ticks/2.