Vtc.Source (vtc v0.2.1) View Source
Protocols for source values that can be used to construct a timecode.
Link to this section Summary
Types
Result type of Vtc.Source.Frames.frames/2
.
Result type of Source.Seconds.seconds/2
.
Result type of Vtc.Source.PremiereTicks.ticks/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
.