Documentation ¶
Index ¶
- type Float32Levels
- type IntLevels
- type Level
- func (v Level) ChooseFloat32(levels Float32Levels) float32
- func (v Level) ChooseInt(levels IntLevels) int
- func (v Level) ChooseUint(levels UintLevels) uint
- func (v Level) ChooseUint32(levels Uint32Levels) uint32
- func (v Level) ChooseUint8(levels Uint8Levels) uint8
- func (v Level) DefaultPercent() int
- type Uint32Levels
- type Uint8Levels
- type UintLevels
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Float32Levels ¶
type Float32Levels [LevelCount]float32
type IntLevels ¶
type IntLevels [LevelCount]int
type Level ¶
type Level uint8
func (Level) ChooseFloat32 ¶
func (v Level) ChooseFloat32(levels Float32Levels) float32
func (Level) ChooseUint ¶
func (v Level) ChooseUint(levels UintLevels) uint
func (Level) ChooseUint32 ¶
func (v Level) ChooseUint32(levels Uint32Levels) uint32
func (Level) ChooseUint8 ¶
func (v Level) ChooseUint8(levels Uint8Levels) uint8
func (Level) DefaultPercent ¶
type Uint32Levels ¶
type Uint32Levels [LevelCount]uint32
type Uint8Levels ¶
type Uint8Levels [LevelCount]uint8
type UintLevels ¶
type UintLevels [LevelCount]uint
Click to show internal directories.
Click to hide internal directories.