Documentation ¶
Index ¶
- type T
- func (k *T) Clone() (c *T)
- func (k *T) Contains(s *kind.T) bo
- func (k *T) Equals(t1 *T) bo
- func (k *T) IsPrivileged() (priv bo)
- func (k *T) Len() (l no)
- func (k *T) Less(i, j no) bo
- func (k *T) Marshal(dst by) (b by)
- func (k *T) Swap(i, j no)
- func (k *T) ToUint16() (o []uint16)
- func (k *T) Unmarshal(b by) (r by, err er)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type T ¶
func FromIntSlice ¶
func FromIntSlice(is []no) (k *T)
func NewWithCap ¶
func NewWithCap(c no) *T
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 ¶
func (k *T) IsPrivileged() (priv bo)
Click to show internal directories.
Click to hide internal directories.