bitset

package
v0.8.53 Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BitSet

type BitSet[B constraints.Unsigned] struct {
	// contains filtered or unexported fields
}

func New added in v0.5.2

func New[B constraints.Unsigned](set B) BitSet[B]

func (*BitSet[B]) Clear

func (b *BitSet[B]) Clear(bit B)

func (BitSet[B]) Has

func (b BitSet[B]) Has(bit B) bool

func (*BitSet[B]) Set

func (b *BitSet[B]) Set(bit B)

func (*BitSet[B]) Toggle

func (b *BitSet[B]) Toggle(bit B)

Jump to

Keyboard shortcuts

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