Asset

package
v0.0.0-...-fe388b3 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 2024 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Asset

type Asset[V int64 | uint64] map[AssetName.AssetName]V

func (Asset[V]) Add

func (ma Asset[V]) Add(other Asset[V]) Asset[V]

func (Asset[V]) Clone

func (ma Asset[V]) Clone() Asset[V]

func (Asset[V]) Equal

func (ma Asset[V]) Equal(other Asset[V]) bool

func (Asset[V]) Greater

func (ma Asset[V]) Greater(other Asset[V]) bool

func (Asset[V]) Inverted

func (ma Asset[V]) Inverted() Asset[V]

func (Asset[V]) Less

func (ma Asset[V]) Less(other Asset[V]) bool

func (Asset[V]) Sub

func (ma Asset[V]) Sub(other Asset[V]) Asset[V]

Jump to

Keyboard shortcuts

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