capacity

package
v0.0.0-...-05bc493 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 20, 2023 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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
const (
	LevelZero Level = iota
	LevelMinimal
	LevelReduced
	LevelNormal
	LevelMax

	LevelCount = iota
)

func (Level) ChooseFloat32

func (v Level) ChooseFloat32(levels Float32Levels) float32

func (Level) ChooseInt

func (v Level) ChooseInt(levels IntLevels) int

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

func (v Level) DefaultPercent() int

type Uint32Levels

type Uint32Levels [LevelCount]uint32

type Uint8Levels

type Uint8Levels [LevelCount]uint8

type UintLevels

type UintLevels [LevelCount]uint

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL