behavior

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 27, 2018 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Behavior

type Behavior int32
const (
	None Behavior = iota
	NoTake
)

func StringToBehavior

func StringToBehavior(name string) (Behavior, error)

func (Behavior) String

func (i Behavior) String() string

type BehaviorSet

type BehaviorSet map[Behavior]bool

func NewBehaviorSet

func NewBehaviorSet() BehaviorSet

func (BehaviorSet) Add

func (bs BehaviorSet) Add(b Behavior)

func (BehaviorSet) Contains

func (bs BehaviorSet) Contains(b Behavior) bool

Jump to

Keyboard shortcuts

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