utils

package
v1.1.1 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SetInfo

func SetInfo[T any](i *Info[T], v T)

Types

type Info

type Info[T any] struct {
	Value      T
	HasChanged bool
}

type Window

type Window struct {
	Width  int
	Height int
}

func NewWindow

func NewWindow() *Window

func (*Window) UpdateSize

func (w *Window) UpdateSize()

Jump to

Keyboard shortcuts

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