Documentation ¶
Index ¶
- type B
- type Ctx
- type E
- type N
- type S
- type T
- func (k *T) Clone() (c *T)
- func (k *T) Contains(s *kind.T) bool
- func (k *T) Equals(t1 *T) bool
- func (k *T) IsPrivileged() (priv bool)
- func (k *T) Len() (l int)
- func (k *T) Less(i, j int) bool
- func (k *T) MarshalJSON(dst B) (b B, err error)
- func (k *T) Swap(i, j int)
- func (k *T) ToUint16() (o []uint16)
- func (k *T) UnmarshalJSON(b B) (r B, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
func FromIntSlice ¶
func NewWithCap ¶
func (*T) Contains ¶
Contains returns true if the provided element is found in the kinds.T.
Note that the request must use the typed kind.T or convert the number thus. Even if a custom number is found, this codebase does not have the logic to deal with the kind so such a search is pointless and for which reason static typing always wins. No mistakes possible with known quantities.
func (*T) IsPrivileged ¶
Click to show internal directories.
Click to hide internal directories.