Versions in this module Expand all Collapse all v0 v0.1.0 Apr 25, 2022 Changes in this version + var Identity = Ratio + type Func interface + Blocks func(v idx.Block) idx.Block + Events func(v idx.Event) idx.Event + F32 func(float32) float32 + F64 func(float64) float64 + Frames func(v idx.Frame) idx.Frame + I func(int) int + I32 func(int32) int32 + I64 func(int64) int64 + U func(uint) uint + U32 func(uint32) uint32 + U64 func(uint64) uint64 + type Ratio struct + Base uint64 + Target uint64 + func (r Ratio) Blocks(v idx.Block) idx.Block + func (r Ratio) Events(v idx.Event) idx.Event + func (r Ratio) F32(v float32) float32 + func (r Ratio) F64(v float64) float64 + func (r Ratio) Frames(v idx.Frame) idx.Frame + func (r Ratio) I(v int) int + func (r Ratio) I32(v int32) int32 + func (r Ratio) I64(v int64) int64 + func (r Ratio) U(v uint) uint + func (r Ratio) U32(v uint32) uint32 + func (r Ratio) U64(v uint64) uint64