Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type NoFitBehavior ¶
type NoFitBehavior uint
const ( AllocateSmaller NoFitBehavior = 1 << iota AllocateLarger Allocate NoFitBehavior = AllocateSmaller | AllocateLarger Panic NoFitBehavior = 0 )
func NoFitBehaviorString ¶
func NoFitBehaviorString(s string) (NoFitBehavior, error)
NoFitBehaviorString retrieves an enum value from the enum constants string name. Throws an error if the param is not part of the enum.
func NoFitBehaviorValues ¶
func NoFitBehaviorValues() []NoFitBehavior
NoFitBehaviorValues returns all values of the enum
func (NoFitBehavior) IsANoFitBehavior ¶
func (i NoFitBehavior) IsANoFitBehavior() bool
IsANoFitBehavior returns "true" if the value is listed in the enum definition. "false" otherwise
func (NoFitBehavior) String ¶
func (i NoFitBehavior) String() string
Click to show internal directories.
Click to hide internal directories.